Bug: 264957141 Test: Local test Change-Id: I99c7b7393f0ef72aaf545af5e3019b732cadeb42 Signed-off-by: George Lee <geolee@google.com>
12 lines
399 B
Makefile
12 lines
399 B
Makefile
ifeq (,$(filter factory_%,$(TARGET_PRODUCT)))
|
|
PRODUCT_PACKAGES += battery_mitigation
|
|
endif
|
|
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
|
ifeq (,$(filter factory_%,$(TARGET_PRODUCT)))
|
|
PRODUCT_PACKAGES += BrownoutDetection
|
|
endif
|
|
endif
|
|
|
|
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/battery_mitigation/sepolicy
|
|
PRODUCT_SOONG_NAMESPACES += device/google/gs-common/battery_mitigation
|