sm6250-common: Build Xiaomi power AIDL HAL

Change-Id: I0e10f0b36598b8cbf25ee2dc08b8a4eced95c2ed
This commit is contained in:
Alexander Winkowski 2021-07-01 09:51:47 +02:00
parent ee63dc6ded
commit ab8029bdc2
No known key found for this signature in database
GPG Key ID: 72762A66704CDE44
3 changed files with 15 additions and 1 deletions

View File

@ -277,6 +277,10 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \
frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
# Power
PRODUCT_PACKAGES += \
android.hardware.power-service.xiaomi-libperfmgr
# Rootdir
PRODUCT_PACKAGES += \
init.qcom.early_boot.sh \
@ -293,7 +297,10 @@ PRODUCT_PACKAGES += \
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
$(LOCAL_PATH) \
hardware/google/interfaces \
hardware/google/pixel \
hardware/xiaomi
# Inherit proprietary targets
$(call inherit-product, vendor/xiaomi/sm6250-common/sm6250-common-vendor.mk)

View File

@ -1,4 +1,8 @@
[
{
"repository": "android_hardware_xiaomi",
"target_path": "hardware/xiaomi"
},
{
"repository": "android_kernel_xiaomi_sm6250",
"target_path": "kernel/xiaomi/sm6250"

View File

@ -3,3 +3,6 @@
# Lights
/vendor/bin/hw/android\.hardware\.lights-service\.xiaomi_atoll u:object_r:hal_light_default_exec:s0
# Power
/vendor/bin/hw/android\.hardware\.power-service\.xiaomi-libperfmgr u:object_r:hal_power_default_exec:s0