bcl: Do not include bcl.mk for factory

Bug: 264957141
Test: Local test
Change-Id: I99c7b7393f0ef72aaf545af5e3019b732cadeb42
Signed-off-by: George Lee <geolee@google.com>
This commit is contained in:
George Lee 2023-01-17 15:45:50 +00:00
parent 41cbcb2244
commit 8ef6c93704

View file

@ -1,7 +1,11 @@
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