OSDN Git Service

Do not build simpleperf_unit_test and simpleperf_cpu_hotplug_test for host test cases
authorDan Shi <dshi@google.com>
Mon, 3 Apr 2017 23:46:27 +0000 (16:46 -0700)
committerDan Shi <dshi@google.com>
Mon, 3 Apr 2017 23:46:27 +0000 (16:46 -0700)
These two tests may not support host side test yet, don't output the test binary
to testcases folder for now.

Test: make -j simpleperf_unit_test
Bug: 36820939
Change-Id: Ibffdf6a842e1cfabe8aa38dd75a79416a8bd0b23

simpleperf/Android.mk

index 9172321..b654cdd 100644 (file)
@@ -331,7 +331,6 @@ include $(BUILD_NATIVE_TEST)
 # simpleperf_unit_test host
 include $(CLEAR_VARS)
 LOCAL_MODULE := simpleperf_unit_test
-LOCAL_COMPATIBILITY_SUITE := device-tests
 LOCAL_MODULE_HOST_OS := darwin linux windows
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
 LOCAL_CPPFLAGS_darwin := $(simpleperf_cppflags_host_darwin)
@@ -369,7 +368,6 @@ include $(BUILD_NATIVE_TEST)
 include $(CLEAR_VARS)
 LOCAL_CLANG := true
 LOCAL_MODULE := simpleperf_cpu_hotplug_test
-LOCAL_COMPATIBILITY_SUITE := device-tests
 LOCAL_MODULE_HOST_OS := linux
 LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
 LOCAL_CPPFLAGS_linux := $(simpleperf_cppflags_host_linux)