stone: switch with oos libperfmgr

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
This commit is contained in:
Sugakesshaa
2024-07-26 17:33:04 +05:30
committed by Arijit78
parent 689e6af2a2
commit 28ccfda792
3 changed files with 669 additions and 635 deletions

View File

@@ -395,6 +395,10 @@ PRODUCT_PACKAGES += \
# Partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Perf
PRODUCT_COPY_FILES += \
system/core/libprocessgroup/profiles/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
@@ -451,12 +455,11 @@ endif
# Power
PRODUCT_PACKAGES += \
android.hardware.power@1.2.vendor \
android.hardware.power-service-qti \
vendor.qti.hardware.perf@2.2.vendor
android.hardware.power-service.lineage-libperfmgr \
libqti-perfd-client
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
$(LOCAL_PATH)/configs/powerhint.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
# Public libraries
PRODUCT_COPY_FILES += \
@@ -544,7 +547,11 @@ PRODUCT_PACKAGES += \
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH) \
hardware/xiaomi
hardware/xiaomi \
hardware/google/interfaces \
hardware/google/pixel \
hardware/lineage/interfaces/power-libperfmgr \
hardware/qcom-caf/common/libqti-perfd-client
# Telephony
PRODUCT_PACKAGES += \