Merge "Revert "Make libutils test compile on the host""
This commit is contained in:
commit
16f4fb9c4e
1 changed files with 16 additions and 26 deletions
|
@ -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",
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Werror",
|
||||
shared_libs: [
|
||||
"libz",
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libutils",
|
||||
],
|
||||
}
|
||||
|
||||
cc_test_host {
|
||||
name: "libutils_tests_host",
|
||||
srcs: ["Vector_test.cpp"],
|
||||
static_libs: [
|
||||
"libutils",
|
||||
"liblog",
|
||||
],
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue