George Lee dc9f80c8cf 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>
2022-12-02 18:28:47 +00:00

8 lines
295 B
Makefile

PRODUCT_PACKAGES += battery_mitigation
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES += BrownoutDetection
endif
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/battery_mitigation/sepolicy
PRODUCT_SOONG_NAMESPACES += device/google/gs-common/battery_mitigation