From 678194ddac316ee1e2b394dc95d25c5e836def49 Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Mon, 28 Nov 2016 10:39:21 -0800 Subject: [PATCH] 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 --- libcutils/tests/Android.bp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libcutils/tests/Android.bp b/libcutils/tests/Android.bp index 72e2eace5..abe3c2145 100644 --- a/libcutils/tests/Android.bp +++ b/libcutils/tests/Android.bp @@ -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" ], }, },