felix: 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
74f0c6be8c
commit
4c3321d29a
2 changed files with 9 additions and 9 deletions
|
@ -65,8 +65,8 @@ PRODUCT_COPY_FILES += \
|
||||||
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
|
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
|
||||||
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
|
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
|
||||||
|
|
||||||
# userdebug specific
|
# eng specific
|
||||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
|
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
|
||||||
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
|
device/google/felix/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
|
||||||
|
|
|
@ -166,11 +166,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
persist.vendor.audio.spatializer.speaker_enabled=true
|
persist.vendor.audio.spatializer.speaker_enabled=true
|
||||||
|
|
||||||
# Bluetooth SAR test tool
|
# Bluetooth SAR test tool
|
||||||
PRODUCT_PACKAGES_DEBUG += \
|
PRODUCT_PACKAGES_ENG += \
|
||||||
sar_test
|
sar_test
|
||||||
|
|
||||||
# Bluetooth hci_inject test tool
|
# Bluetooth hci_inject test tool
|
||||||
PRODUCT_PACKAGES_DEBUG += \
|
PRODUCT_PACKAGES_ENG += \
|
||||||
hci_inject
|
hci_inject
|
||||||
|
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
|
@ -284,7 +284,7 @@ PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.sensor.hinge_angle.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hinge_angle.xml
|
frameworks/native/data/etc/android.hardware.sensor.hinge_angle.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hinge_angle.xml
|
||||||
|
|
||||||
# Location
|
# Location
|
||||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/felix/location/gps.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
|
device/google/felix/location/gps.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
|
||||||
device/google/felix/location/lhd.conf.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
device/google/felix/location/lhd.conf.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
||||||
|
@ -346,8 +346,8 @@ PRODUCT_VENDOR_PROPERTIES += \
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
persist.bluetooth.opus.enabled=true
|
persist.bluetooth.opus.enabled=true
|
||||||
|
|
||||||
# WLC userdebug specific
|
# WLC eng specific
|
||||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/gs201/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
|
device/google/gs201/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
|
||||||
endif
|
endif
|
||||||
|
@ -365,7 +365,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
bluetooth.profile.vcp.controller.enabled=true \
|
bluetooth.profile.vcp.controller.enabled=true \
|
||||||
|
|
||||||
# Override BQR mask to enable LE Audio Choppy report
|
# Override BQR mask to enable LE Audio Choppy report
|
||||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
persist.bluetooth.bqr.event_mask=262238
|
persist.bluetooth.bqr.event_mask=262238
|
||||||
else
|
else
|
||||||
|
@ -392,7 +392,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
persist.bluetooth.leaudio.allow_list=SM-R510
|
persist.bluetooth.leaudio.allow_list=SM-R510
|
||||||
|
|
||||||
# Bluetooth EWP test tool
|
# Bluetooth EWP test tool
|
||||||
PRODUCT_PACKAGES_DEBUG += \
|
PRODUCT_PACKAGES_ENG += \
|
||||||
ewp_tool
|
ewp_tool
|
||||||
|
|
||||||
# Enable DeviceAsWebcam support
|
# Enable DeviceAsWebcam support
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue