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.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 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 # Rootdir
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
init.qcom.early_boot.sh \ init.qcom.early_boot.sh \
@ -293,7 +297,10 @@ PRODUCT_PACKAGES += \
# Soong namespaces # Soong namespaces
PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH) $(LOCAL_PATH) \
hardware/google/interfaces \
hardware/google/pixel \
hardware/xiaomi
# Inherit proprietary targets # Inherit proprietary targets
$(call inherit-product, vendor/xiaomi/sm6250-common/sm6250-common-vendor.mk) $(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", "repository": "android_kernel_xiaomi_sm6250",
"target_path": "kernel/xiaomi/sm6250" "target_path": "kernel/xiaomi/sm6250"

View File

@ -3,3 +3,6 @@
# Lights # Lights
/vendor/bin/hw/android\.hardware\.lights-service\.xiaomi_atoll u:object_r:hal_light_default_exec:s0 /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