libcutils: tests

Respect "android" and "not_windows" (linux + darwin). This
means the string test and control support routines were not
being tested on android.

Test: gTest libcutils_test
Bug: 32450474
Change-Id: I9505fefeb0a4a8c5b54aa637812b4f3c07c2893c
This commit is contained in:
Mark Salyzyn 2016-11-28 10:39:21 -08:00
parent a10bd47d60
commit 678194ddac
1 changed files with 3 additions and 2 deletions

View File

@ -24,14 +24,15 @@ cc_defaults {
"PropertiesTest.cpp",
"sched_policy_test.cpp",
"trace-dev_test.cpp",
"test_str_parms.cpp",
"android_get_control_socket_test.cpp",
"android_get_control_file_test.cpp"
],
},
not_windows: {
srcs: [
"test_str_parms.cpp",
"android_get_control_socket_test.cpp",
"android_get_control_file_test.cpp"
],
},
},