George Lee 8ef6c93704 bcl: Do not include bcl.mk for factory
Bug: 264957141
Test: Local test
Change-Id: I99c7b7393f0ef72aaf545af5e3019b732cadeb42
Signed-off-by: George Lee <geolee@google.com>
2023-04-11 02:47:29 +00:00

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