bm: create mk for new battery mitigation service
Bug: 317869347 Change-Id: I09c95781cabc813d482b92e12ade944a32503f52 Signed-off-by: samou <samou@google.com>
This commit is contained in:
parent
29e115e63e
commit
2d5681d516
1 changed files with 17 additions and 0 deletions
17
battery_mitigation/bcl-aidl.mk
Normal file
17
battery_mitigation/bcl-aidl.mk
Normal file
|
@ -0,0 +1,17 @@
|
|||
ifeq ($(RELEASE_PIXEL_AIDL_BATTERY_MITIGATION_HAL), true)
|
||||
|
||||
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
|
||||
|
||||
PRODUCT_SOONG_NAMESPACES += device/google/gs-common/battery_mitigation
|
||||
endif
|
||||
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/battery_mitigation/sepolicy/vendor
|
||||
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += device/google/gs-common/battery_mitigation/sepolicy/system_ext/private
|
||||
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS += device/google/gs-common/battery_mitigation/sepolicy/system_ext/public
|
Loading…
Add table
Add a link
Reference in a new issue