summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2016-12-13 16:22:55 -0800
committerEtan Cohen <etancohen@google.com>2016-12-13 16:22:55 -0800
commit25ae65f828b53d2f2d1f5dea2f5f7e70720350c9 (patch)
treec3cd306834db538e3f44acd415449a590effe746 /tests
parentc8701c8ad058ec7fa69a2e3c60495f27708bced5 (diff)
[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
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/Android.mk11
1 files changed, 1 insertions, 10 deletions
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.