shusky: Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds. Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
This commit is contained in:
parent
383a6005f7
commit
66a69bfdd5
6 changed files with 19 additions and 19 deletions
|
@ -61,7 +61,7 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
|
||||
|
||||
# userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
|
||||
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
|
||||
|
|
|
@ -61,7 +61,7 @@ PRODUCT_COPY_FILES += \
|
|||
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
|
||||
|
||||
# userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
|
||||
device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
|
||||
|
|
|
@ -24,7 +24,7 @@ TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_HUSKY_DIR)/kernel-headers
|
|||
|
||||
LOCAL_PATH := device/google/shusky
|
||||
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
USE_UWBFIELDTESTQM := true
|
||||
endif
|
||||
ifeq ($(filter factory_husky, $(TARGET_PRODUCT)),)
|
||||
|
@ -160,7 +160,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
ro.gms.dck.se_capability=1
|
||||
|
||||
# Bluetooth hci_inject test tool
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
PRODUCT_PACKAGES_ENG += \
|
||||
hci_inject
|
||||
|
||||
# Bluetooth OPUS codec
|
||||
|
@ -168,11 +168,11 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
|||
persist.bluetooth.opus.enabled=true
|
||||
|
||||
# Bluetooth SAR test tool
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
PRODUCT_PACKAGES_ENG += \
|
||||
sar_test
|
||||
|
||||
# Bluetooth EWP test tool
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
PRODUCT_PACKAGES_ENG += \
|
||||
ewp_tool
|
||||
|
||||
# Bluetooth AAC VBR
|
||||
|
@ -180,7 +180,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
|||
persist.bluetooth.a2dp_aac.vbr_supported=true
|
||||
|
||||
# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.bqr.event_mask=295006 \
|
||||
persist.bluetooth.bqr.vnd_quality_mask=29 \
|
||||
|
@ -304,7 +304,7 @@ include device/google/gs-common/gps/brcm/device.mk
|
|||
PRODUCT_COPY_FILES += \
|
||||
device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer
|
||||
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/shusky/location/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
||||
device/google/shusky/location/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
|
||||
|
@ -406,7 +406,7 @@ PRODUCT_VENDOR_PROPERTIES += \
|
|||
ro.vendor.build.svn=$(TARGET_SVN)
|
||||
|
||||
# WLC userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/zuma/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
|
||||
endif
|
||||
|
@ -474,7 +474,7 @@ PRODUCT_PACKAGES += \
|
|||
AvoidAppsInCutoutOverlay
|
||||
|
||||
# ETM
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
|
||||
endif
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
ro.gms.dck.se_capability=1
|
||||
|
||||
# Bluetooth hci_inject test tool
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
PRODUCT_PACKAGES_ENG += \
|
||||
hci_inject
|
||||
|
||||
# Bluetooth OPUS codec
|
||||
|
@ -156,11 +156,11 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
|||
persist.bluetooth.opus.enabled=true
|
||||
|
||||
# Bluetooth SAR test tool
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
PRODUCT_PACKAGES_ENG += \
|
||||
sar_test
|
||||
|
||||
# Bluetooth EWP test tool
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
PRODUCT_PACKAGES_ENG += \
|
||||
ewp_tool
|
||||
|
||||
# Bluetooth AAC VBR
|
||||
|
@ -168,7 +168,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
|||
persist.bluetooth.a2dp_aac.vbr_supported=true
|
||||
|
||||
# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.bqr.event_mask=295006 \
|
||||
persist.bluetooth.bqr.vnd_quality_mask=29 \
|
||||
|
@ -287,7 +287,7 @@ include device/google/gs-common/gps/brcm/device.mk
|
|||
PRODUCT_COPY_FILES += \
|
||||
device/google/shusky/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer
|
||||
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/shusky/location/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
||||
device/google/shusky/location/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
|
||||
|
@ -387,7 +387,7 @@ PRODUCT_VENDOR_PROPERTIES += \
|
|||
persist.vendor.camera.rls_supported=false
|
||||
|
||||
# WLC userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/zuma/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
|
||||
endif
|
||||
|
@ -443,7 +443,7 @@ PRODUCT_PACKAGES += \
|
|||
AvoidAppsInCutoutOverlay
|
||||
|
||||
# ETM
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
|
||||
endif
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ include device/google/zuma/BoardConfig-common.mk
|
|||
include device/google/shusky/sepolicy/husky-sepolicy.mk
|
||||
include device/google/shusky/wifi/BoardConfig-wifi.mk
|
||||
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
-include device/google/common/etm/5_15/BoardUserdebugModules.mk
|
||||
endif
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ include device/google/zuma/BoardConfig-common.mk
|
|||
include device/google/shusky/sepolicy/shiba-sepolicy.mk
|
||||
include device/google/shusky/wifi/BoardConfig-wifi.mk
|
||||
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
-include device/google/common/etm/5_15/BoardUserdebugModules.mk
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue