summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorchenpaul <chenpaul@google.com>2022-12-23 14:55:57 +0800
committerchenpaul <chenpaul@google.com>2022-12-29 13:18:37 +0800
commitad9fb0e659e0fff33b5d45bdc5ab5f8dcf0c7d9e (patch)
tree4baa84e893338170029fa994b48c2722a592150c /common
parent9782050d3470275abe39c3cffec59843dea850be (diff)
Add wifi_diagnostic binary into package
Bug: 253366496 Test: wifi_diagnostic binary is available Change-Id: I24c530df17def7dc4e6fa2922fa0e51d27436cde
Diffstat (limited to 'common')
-rw-r--r--common/pixel-common-device.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/pixel-common-device.mk b/common/pixel-common-device.mk
index 4bb4398..dfa5f15 100644
--- a/common/pixel-common-device.mk
+++ b/common/pixel-common-device.mk
@@ -21,6 +21,14 @@ PRODUCT_PACKAGES += \
BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/ramdump/common
# Pixel Experience
+
+ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
+ifeq (,$(filter aosp_%,$(TARGET_PRODUCT)))
+PRODUCT_PACKAGES_DEBUG += wifi_diagnostic
+BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/wifi_diagnostic
+endif
+endif
+
PRODUCT_PACKAGES_DEBUG += wifi_sniffer
BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/wifi_sniffer