summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitrii Merkurev <dimorinny@google.com>2021-10-07 21:49:29 +0000
committerDmitrii Merkurev <dimorinny@google.com>2021-10-08 15:06:44 +0000
commita7dcd72cb3a2b08ec636b981ea102244e3874690 (patch)
tree180114533c75e827f5cecde638d7dd29c80528b4
parent7c9c6ddb6b122c58efcd82d7872dc08adb1e854b (diff)
downloadwlan-a7dcd72cb3a2b08ec636b981ea102244e3874690.tar.gz
Introduce TARGET_USES_HARDWARE_QCOM_WLAN to disable common qcom wlan module
Bug: 202405847 Test: Disabled in our target by setting TARGET_USES_HARDWARE_QCOM_WLAN to false and now it's not included. Also checked that it is still disabled for automotive platform by default Change-Id: I56c696b13c94b80810dd5c4ff2654ce2b88755b7
-rw-r--r--Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 200eb36..cb1010a 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,4 +1,4 @@
-# TODO: Find a better way to separate build configs for ADP vs non-ADP devices
-ifneq ($(BOARD_IS_AUTOMOTIVE),true)
+#set TARGET_USES_HARDWARE_QCOM_WLAN to false to disable this project.
+ifneq ($(TARGET_USES_HARDWARE_QCOM_WLAN),false)
include $(call all-subdir-makefiles)
endif