Enable BrownoutDetection only for debug build
Bug: 237287659 Test: Confirm its only debug build only has BrownoutDetection app Change-Id: I7810c10c66047c472e799d708eb9a6bd7ccbce20 Signed-off-by: George Lee <geolee@google.com>
This commit is contained in:
parent
fd2395f40f
commit
dc9f80c8cf
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
||||||
PRODUCT_PACKAGES += battery_mitigation \
|
PRODUCT_PACKAGES += battery_mitigation
|
||||||
BrownoutDetection
|
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||||
|
PRODUCT_PACKAGES += BrownoutDetection
|
||||||
|
endif
|
||||||
|
|
||||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/battery_mitigation/sepolicy
|
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/battery_mitigation/sepolicy
|
||||||
PRODUCT_SOONG_NAMESPACES += device/google/gs-common/battery_mitigation
|
PRODUCT_SOONG_NAMESPACES += device/google/gs-common/battery_mitigation
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue