zenfone9: Build libvndfwk from source
Change-Id: I622d846a8d85aaeaeb7d0afb97e6bf9dc4bf4b39
Signed-off-by: micky387 <mickaelsaibi@free.fr>
diff --git a/device.mk b/device.mk
index bb4562d..44bb3ee 100755
--- a/device.mk
+++ b/device.mk
@@ -287,6 +287,13 @@
# Properties
BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
+# QMI
+PRODUCT_PACKAGES += \
+ libqti_vndfwk_detect.vendor \
+ libqti_vndfwk_detect_vendor \
+ libvndfwk_detect_jni.qti.vendor \
+ libvndfwk_detect_jni.qti_vendor
+
# Ramdisk
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)
diff --git a/omni.dependencies b/omni.dependencies
index ceca211..9a01065 100644
--- a/omni.dependencies
+++ b/omni.dependencies
@@ -60,6 +60,12 @@
"target_path": "device/asus/zenfone9-kernel",
"revision": "android-14.0"
},
+ {
+ "remote": "github",
+ "repository": "LineageOS/android_vendor_qcom_opensource_core-utils-vendor",
+ "target_path": "vendor/qcom/opensource/core-utils-vendor",
+ "revision": "lineage-22.1"
+ },
{
"remote": "omnirom",
"repository": "android_vendor_codeaurora_telephony",
diff --git a/proprietary-files-vendor.txt b/proprietary-files-vendor.txt
index 67b3dea..1c2903c 100644
--- a/proprietary-files-vendor.txt
+++ b/proprietary-files-vendor.txt
@@ -1,5 +1,5 @@
vendor/app/CACertService/CACertService.apk
-vendor/app/CneApp/CneApp.apk
+vendor/app/CneApp/CneApp.apk;REQUIRED=CneApp.libvndfwk_detect_jni.qti_vendor_symlink
vendor/app/IWlanService/IWlanService.apk
vendor/app/TimeService/TimeService.apk
vendor/app/powermodule_java/powermodule_java.apk
@@ -2141,8 +2141,6 @@
vendor/lib/libqti-perfd.so
vendor/lib/libqti-util.so
vendor/lib/libqti-utils.so
-vendor/lib/libqti_vndfwk_detect.so
-vendor/lib/libqti_vndfwk_detect_vendor.so
vendor/lib/libqtigefar.so
vendor/lib/libqtiidentitycredential.so
vendor/lib/libqtikeymaster4.so
@@ -2236,8 +2234,6 @@
vendor/lib/libvidhance_stabilizer.so
vendor/lib/libvidhance_stabilizer_g4.so
vendor/lib/libvmmem.so
-vendor/lib/libvndfwk_detect_jni.qti.so
-vendor/lib/libvndfwk_detect_jni.qti_vendor.so
vendor/lib/libvorbisidec.so
vendor/lib/libvppclient.so
vendor/lib/libvppcommon.so
@@ -3237,8 +3233,6 @@
vendor/lib64/libqti-perfd.so
vendor/lib64/libqti-util.so
vendor/lib64/libqti-utils.so
-vendor/lib64/libqti_vndfwk_detect.so
-vendor/lib64/libqti_vndfwk_detect_vendor.so
vendor/lib64/libqtigefar.so
vendor/lib64/libqtiidentitycredential.so
vendor/lib64/libqtikeymaster4.so
@@ -3351,8 +3345,6 @@
vendor/lib64/libvidhance_stabilizer.so
vendor/lib64/libvidhance_stabilizer_g4.so
vendor/lib64/libvmmem.so
-vendor/lib64/libvndfwk_detect_jni.qti.so
-vendor/lib64/libvndfwk_detect_jni.qti_vendor.so
vendor/lib64/libvppclient.so
vendor/lib64/libvppcommon.so
vendor/lib64/libvpphcp.so