From 25ae65f828b53d2f2d1f5dea2f5f7e70720350c9 Mon Sep 17 00:00:00 2001 From: Etan Cohen Date: Tue, 13 Dec 2016 16:22:55 -0800 Subject: [AWARE] Remove non-standard build configuration of Wi-Fi Aware Always build Wi-Fi Aware service code (doesn't imply that feature is available on device). Bug: 33594222 Test: build and run on devices with & without feature Change-Id: I6ec88788b6c741ea02832253709d05797be1d824 --- tests/wifitests/Android.mk | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'tests') diff --git a/tests/wifitests/Android.mk b/tests/wifitests/Android.mk index 08677bb8b..cb8504cd5 100644 --- a/tests/wifitests/Android.mk +++ b/tests/wifitests/Android.mk @@ -32,12 +32,8 @@ LOCAL_C_INCLUDES += \ packages/apps/Test/connectivity/sl4n/rapidjson/include \ LOCAL_SRC_FILES := \ - jni/wifi_hal_mock.cpp - -ifeq ($(BOARD_HAS_AWARE), true) -LOCAL_SRC_FILES += \ + jni/wifi_hal_mock.cpp \ jni/wifi_aware_hal_mock.cpp -endif LOCAL_MODULE := libwifi-hal-mock @@ -62,11 +58,6 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-subdir-java-files) -ifneq ($(BOARD_HAS_AWARE), true) -LOCAL_SRC_FILES := $(filter-out $(call all-java-files-under, \ - src/com/android/server/wifi/aware),$(LOCAL_SRC_FILES)) -endif - # Provide jack a list of classes to exclude form code coverage # This list is generated from the java source files in this module # The list is a comma separated list of class names with * matching zero or more characters. -- cgit v1.2.3