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 {
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
include device/qcom/sepolicy_vndr/SEPolicy.mk
include device/lineage/sepolicy/libperfmgr/sepolicy.mk
# Verified Boot
BOARD_AVB_ENABLE := true

View File

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