fogos: Set libperfmgr mode extension lib via soong config

Change-Id: I39ac8867d98808832738f58eb6f50d456d6d34c4
This commit is contained in:
Bruno Martins 2025-05-09 23:15:09 +05:30 committed by Anand S
parent 34e5ef149c
commit e6560fbf16
No known key found for this signature in database
GPG key ID: 5BCAC037A93D36F0
2 changed files with 2 additions and 3 deletions

View file

@ -26,9 +26,6 @@ BOOT_KERNEL_MODULES := $(BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD)
BOARD_MOT_DP_GROUP_SIZE := 5901385728 # (BOARD_SUPER_PARTITION_SIZE - 4MB)
BOARD_SUPER_PARTITION_SIZE := 5905580032
# Power
TARGET_POWER_LIBPERFMGR_MODE_EXTENSION_LIB := //$(DEVICE_PATH):libperfmgr-ext-fogos
# Properties
TARGET_PRODUCT_PROP += $(DEVICE_PATH)/product.prop
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop

View file

@ -103,5 +103,7 @@ PRODUCT_COPY_FILES += \
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)
$(call soong_config_set,power_libperfmgr,mode_extension_lib,//$(LOCAL_PATH):libperfmgr-ext-fogos)
# Inherit from vendor blobs
$(call inherit-product, vendor/motorola/fogos/fogos-vendor.mk)