Enable BrownoutDetection only for debug build

Bug: 237287659
Test: Confirm its only debug build only has BrownoutDetection app
Merged-In: If80954497a75da0d41c8d75126e42eaae1330003
Change-Id: Ibc1102f779007692d41a423a30075f745129ea1b
Signed-off-by: George Lee <geolee@google.com>
This commit is contained in:
George Lee 2022-12-02 10:05:07 -08:00
parent 2a2ebf1d78
commit d0586cdd4b

View file

@ -551,8 +551,12 @@ PRODUCT_PACKAGES += \
# Battery Mitigation
PRODUCT_PACKAGES += \
battery_mitigation \
BrownoutDetection
battery_mitigation
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES += BrownoutDetection
endif
PRODUCT_PACKAGES_DEBUG += \
sg_write_buffer \