diff options
| author | Richard Uhler <ruhler@google.com> | 2017-02-24 09:36:13 +0000 |
|---|---|---|
| committer | Richard Uhler <ruhler@google.com> | 2017-02-24 09:36:13 +0000 |
| commit | 26bfee52b3038e7ef30241f81a07db596acc3d2a (patch) | |
| tree | b5699feda389889f547f6483d97300acfbc54663 /libutils/tests | |
| parent | afa891e85e7d8f852d0eab706d44226b6fdfedd1 (diff) | |
| download | system_core-26bfee52b3038e7ef30241f81a07db596acc3d2a.tar.gz system_core-26bfee52b3038e7ef30241f81a07db596acc3d2a.tar.bz2 system_core-26bfee52b3038e7ef30241f81a07db596acc3d2a.zip | |
Revert "Make libutils test compile on the host"
Fails mac build: "system/core/include/utils/Looper.h:25:10: fatal error: 'sys/epoll.h' file not found"
This reverts commit afa891e85e7d8f852d0eab706d44226b6fdfedd1.
Change-Id: Ib558b8f5a303b55ab32a399d338d8aac0fae32b2
Diffstat (limited to 'libutils/tests')
| -rw-r--r-- | libutils/tests/Android.bp | 40 |
1 files changed, 15 insertions, 25 deletions
diff --git a/libutils/tests/Android.bp b/libutils/tests/Android.bp index f81943da4..ec6b67f21 100644 --- a/libutils/tests/Android.bp +++ b/libutils/tests/Android.bp @@ -18,43 +18,33 @@ cc_test { name: "libutils_tests", - host_supported: true, srcs: [ + "BlobCache_test.cpp", "BitSet_test.cpp", "Looper_test.cpp", "LruCache_test.cpp", "RefBase_test.cpp", "String8_test.cpp", "StrongPointer_test.cpp", + "SystemClock_test.cpp", "Unicode_test.cpp", "Vector_test.cpp", ], - target: { - android: { - srcs: [ - "BlobCache_test.cpp", - "SystemClock_test.cpp", - ], - shared_libs: [ - "libz", - "liblog", - "libcutils", - "libutils", - ], - }, - host: { - static_libs: [ - "libutils", - "liblog", - ], - }, - }, + shared_libs: [ + "libz", + "liblog", + "libcutils", + "libutils", + ], +} - cflags: [ - "-Wall", - "-Wextra", - "-Werror", +cc_test_host { + name: "libutils_tests_host", + srcs: ["Vector_test.cpp"], + static_libs: [ + "libutils", + "liblog", ], } |
