diff options
author | Riley Andrews | 2014-06-05 21:34:40 -0500 |
---|---|---|
committer | JP Abgrall | 2014-10-10 21:10:23 -0500 |
commit | d0d7f6ac082184ee88bb34224f41537c140d98e5 (patch) | |
tree | 4df3219a7c5f63919da483a03f799c04daf4479e /libsync/tests/Android.mk | |
parent | 6b66025f6f3e48d182e8d6aeb989d0f39eb551e3 (diff) | |
download | platform-system-core-d0d7f6ac082184ee88bb34224f41537c140d98e5.tar.gz platform-system-core-d0d7f6ac082184ee88bb34224f41537c140d98e5.tar.xz platform-system-core-d0d7f6ac082184ee88bb34224f41537c140d98e5.zip |
Add gtest conformance tests for libsync.
Not complete yet, but substantially more comprehensive than the
interactive test that was there before.
(cherry-picked from internal master, same change-id).
Change-Id: I9019b0a8babbc91f78aa850e0e288bbf05f93500
Diffstat (limited to 'libsync/tests/Android.mk')
-rw-r--r-- | libsync/tests/Android.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libsync/tests/Android.mk b/libsync/tests/Android.mk new file mode 100644 index 000000000..ad20e50a1 --- /dev/null +++ b/libsync/tests/Android.mk | |||
@@ -0,0 +1,31 @@ | |||
1 | # | ||
2 | # Copyright 2014 The Android Open Source Project | ||
3 | # | ||
4 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | # you may not use this file except in compliance with the License. | ||
6 | # You may obtain a copy of the License at | ||
7 | # | ||
8 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | # | ||
10 | # Unless required by applicable law or agreed to in writing, software | ||
11 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | # See the License for the specific language governing permissions and | ||
14 | # limitations under the License. | ||
15 | # | ||
16 | |||
17 | LOCAL_PATH:= $(call my-dir) | ||
18 | |||
19 | include $(CLEAR_VARS) | ||
20 | include external/libcxx/libcxx.mk | ||
21 | LOCAL_CLANG := true | ||
22 | LOCAL_MODULE := sync-unit-tests | ||
23 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk | ||
24 | LOCAL_CFLAGS += -g -Wall -Werror -std=gnu++11 -Wno-missing-field-initializers -Wno-sign-compare | ||
25 | LOCAL_SHARED_LIBRARIES += libsync | ||
26 | LOCAL_STATIC_LIBRARIES += libgtest_main | ||
27 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/../include | ||
28 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. | ||
29 | LOCAL_SRC_FILES := \ | ||
30 | sync_test.cpp | ||
31 | include $(BUILD_NATIVE_TEST) | ||