zenfone7: Build perf 2.3 from source
Change-Id: Ib8d45e255ea3a2b78f91fea6304fe7d56ec30d4c
diff --git a/device.mk b/device.mk
index 153bf45..ea18ec2 100755
--- a/device.mk
+++ b/device.mk
@@ -58,6 +58,11 @@
$(LOCAL_PATH)/keylayout/goodixfp.kl:system/usr/keylayout/goodixfp.kl \
$(LOCAL_PATH)/keylayout/i-rocks_Bluetooth_Keyboard.kl:system/usr/keylayout/i-rocks_Bluetooth_Keyboard.kl
+# Perf
+PRODUCT_PACKAGES += \
+ vendor.qti.hardware.perf@2.3 \
+ vendor.qti.hardware.perf@2.3.vendor
+
# Prebuilt
PRODUCT_COPY_FILES += \
$(call find-copy-subdir-files,*,device/asus/zenfone7/prebuilt/system,system) \
diff --git a/proprietary-files-product.txt b/proprietary-files-product.txt
index 9317fd1..f901997 100644
--- a/proprietary-files-product.txt
+++ b/proprietary-files-product.txt
@@ -122,7 +122,6 @@
# IOP
system_ext/lib64/vendor.qti.hardware.iop@2.0.so
-system_ext/lib64/vendor.qti.hardware.perf@2.0.so
system_ext/lib64/vendor.qti.hardware.qteeconnector@1.0.so
diff --git a/proprietary-files-vendor.txt b/proprietary-files-vendor.txt
index 1f30ce7..5659396 100644
--- a/proprietary-files-vendor.txt
+++ b/proprietary-files-vendor.txt
@@ -1960,9 +1960,6 @@
vendor/lib/vendor.qti.hardware.fm@1.0.so
vendor/lib/vendor.qti.hardware.iop@1.0.so
vendor/lib/vendor.qti.hardware.iop@2.0.so
-vendor/lib/vendor.qti.hardware.perf@2.0.so
-vendor/lib/vendor.qti.hardware.perf@2.1.so
-vendor/lib/vendor.qti.hardware.perf@2.2.so
vendor/lib/vendor.qti.hardware.qccsyshal@1.0.so
vendor/lib/vendor.qti.hardware.qccvndhal@1.0-halimpl.so
vendor/lib/vendor.qti.hardware.qccvndhal@1.0.so
@@ -2737,9 +2734,6 @@
vendor/lib64/vendor.qti.hardware.fm@1.0.so
vendor/lib64/vendor.qti.hardware.iop@1.0.so
vendor/lib64/vendor.qti.hardware.iop@2.0.so
-vendor/lib64/vendor.qti.hardware.perf@2.0.so
-vendor/lib64/vendor.qti.hardware.perf@2.1.so
-vendor/lib64/vendor.qti.hardware.perf@2.2.so
vendor/lib64/vendor.qti.hardware.qccsyshal@1.0.so
vendor/lib64/vendor.qti.hardware.qccvndhal@1.0-halimpl.so
vendor/lib64/vendor.qti.hardware.qccvndhal@1.0.so
diff --git a/regen-vendor.sh b/regen-vendor.sh
index d0479dc..b38dec7 100755
--- a/regen-vendor.sh
+++ b/regen-vendor.sh
@@ -571,6 +571,12 @@
"lib64/vendor.ims.airtrigger@1.0.so"
"lib64/vendor.ims.airtrigger@1.1.so"
"lib64/vendor.ims.airtrigger@1.2.so"
+ "lib/vendor.qti.hardware.perf@2.0.so"
+ "lib/vendor.qti.hardware.perf@2.1.so"
+ "lib/vendor.qti.hardware.perf@2.2.so"
+ "lib64/vendor.qti.hardware.perf@2.0.so"
+ "lib64/vendor.qti.hardware.perf@2.1.so"
+ "lib64/vendor.qti.hardware.perf@2.2.so"
# Overlays
"overlay/FrameworksResTarget.apk"