sm8550-common: Migrate to common libqti-perfd-client and power-libperfmgr

Change-Id: I22dd0baaf1594db1650bccf37b4d167b50135174
This commit is contained in:
Bruno Martins
2024-03-11 17:23:49 +01:00
committed by chaptsand
parent 31fa8d1612
commit c8f8181faf
3 changed files with 14 additions and 2 deletions

View File

@@ -1,2 +1,8 @@
soong_namespace { soong_namespace {
imports: [
"hardware/google/interfaces",
"hardware/google/pixel",
"hardware/lineage/interfaces/power-libperfmgr",
"hardware/qcom-caf/common/libqti-perfd-client",
],
} }

View File

@@ -166,6 +166,7 @@ VENDOR_SECURITY_PATCH := $(BOOT_SECURITY_PATCH)
# SEPolicy # SEPolicy
include device/qcom/sepolicy_vndr/SEPolicy.mk include device/qcom/sepolicy_vndr/SEPolicy.mk
include device/lineage/sepolicy/libperfmgr/sepolicy.mk
# Verified Boot # Verified Boot
BOARD_AVB_ENABLE := true BOARD_AVB_ENABLE := true

View File

@@ -303,6 +303,10 @@ PRODUCT_COPY_FILES += \
# Namespaces # Namespaces
PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH) \ $(LOCAL_PATH) \
hardware/google/interfaces \
hardware/google/pixel \
hardware/lineage/interfaces/power-libperfmgr \
hardware/qcom-caf/common/libqti-perfd-client \
hardware/samsung \ hardware/samsung \
kernel/samsung/sm8550 \ kernel/samsung/sm8550 \
kernel/samsung/sm8550-modules kernel/samsung/sm8550-modules
@@ -341,8 +345,9 @@ PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Power # Power
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.power-service-qti \ android.hardware.power-service.lineage-libperfmgr \
android.hardware.power@1.2.vendor android.hardware.power@1.2.vendor \
libqti-perfd-client
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
vendor/qcom/opensource/power/config/kalama/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml vendor/qcom/opensource/power/config/kalama/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml