diff --git a/Android.bp b/Android.bp index 19c6843..9c11075 100644 --- a/Android.bp +++ b/Android.bp @@ -357,6 +357,64 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "android.hardware.bluetooth@1.0-impl-qti", + owner: "motorola", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/hw/android.hardware.bluetooth@1.0-impl-qti.so", + ], + shared_libs: [ + "libbase", + "libcutils", + "libhidlbase", + "liblog", + "libutils", + "libdiag", + "libqmiservices", + "libqmi_cci", + "libbtnv", + "android.hardware.bluetooth@1.0", + "libsoc_helper", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/hw/android.hardware.bluetooth@1.0-impl-qti.so", + ], + shared_libs: [ + "libbase", + "libcutils", + "libhidlbase", + "liblog", + "libutils", + "libdiag", + "libqmiservices", + "libqmi_cci", + "libbtnv", + "android.hardware.bluetooth@1.0", + "libsoc_helper", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "both", + relative_install_path: "hw", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "vendor.qti.hardware.bluetooth_audio@2.0-impl", owner: "motorola", @@ -1701,6 +1759,41 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libbtnv", + owner: "motorola", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libbtnv.so", + ], + shared_libs: [ + "libc++", + "libc", + "libm", + "libdl", + ], + }, + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libbtnv.so", + ], + shared_libs: [ + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "both", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libc2d30_bltlib", owner: "motorola", @@ -1947,6 +2040,49 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libconfigdb", + owner: "motorola", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libconfigdb.so", + ], + shared_libs: [ + "libxml", + "libdsutils", + "libdiag", + "liblog", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libconfigdb.so", + ], + shared_libs: [ + "libxml", + "libdsutils", + "libdiag", + "liblog", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "both", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libcvp2_1", owner: "motorola", @@ -2798,6 +2934,47 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libmdmdetect", + owner: "motorola", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libmdmdetect.so", + ], + shared_libs: [ + "libcutils", + "libutils", + "liblog", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libmdmdetect.so", + ], + shared_libs: [ + "libcutils", + "libutils", + "liblog", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "both", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libmdsprpc", owner: "motorola", @@ -2923,6 +3100,53 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libnetmgr", + owner: "motorola", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libnetmgr.so", + ], + shared_libs: [ + "libdsutils", + "libconfigdb", + "libdiag", + "libcutils", + "liblog", + "libhardware_legacy", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libnetmgr.so", + ], + shared_libs: [ + "libdsutils", + "libconfigdb", + "libdiag", + "libcutils", + "liblog", + "libhardware_legacy", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "both", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libperfconfig", owner: "motorola", @@ -4164,6 +4388,43 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libsoc_helper", + owner: "motorola", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libsoc_helper.so", + ], + shared_libs: [ + "libcutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libsoc_helper.so", + ], + shared_libs: [ + "libcutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "both", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libthermalclient", owner: "motorola", @@ -4399,6 +4660,47 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libxml", + owner: "motorola", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/libxml.so", + ], + shared_libs: [ + "liblog", + "libdiag", + "libcutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libxml.so", + ], + shared_libs: [ + "liblog", + "libdiag", + "libcutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "both", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libasphere", owner: "motorola", @@ -5037,6 +5339,49 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "vendor.qti.hardware.wifidisplaysession@1.0", + owner: "motorola", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/vendor.qti.hardware.wifidisplaysession@1.0.so", + ], + shared_libs: [ + "libhidlbase", + "liblog", + "libutils", + "libcutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/vendor.qti.hardware.wifidisplaysession@1.0.so", + ], + shared_libs: [ + "libhidlbase", + "liblog", + "libutils", + "libcutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "both", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "vendor.qti.memory.pasrmanager@1.0", owner: "motorola", @@ -5125,6 +5470,49 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "vendor.qti.qspmhal@1.0", + owner: "motorola", + strip: { + none: true, + }, + target: { + android_arm: { + srcs: [ + "proprietary/vendor/lib/vendor.qti.qspmhal@1.0.so", + ], + shared_libs: [ + "libhidlbase", + "liblog", + "libutils", + "libcutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/vendor.qti.qspmhal@1.0.so", + ], + shared_libs: [ + "libhidlbase", + "liblog", + "libutils", + "libcutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "both", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libDxHdcp", owner: "motorola", @@ -6346,34 +6734,6 @@ cc_prebuilt_library_shared { soc_specific: true, } -cc_prebuilt_library_shared { - name: "vendor.qti.hardware.wifidisplaysession@1.0", - owner: "motorola", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/vendor.qti.hardware.wifidisplaysession@1.0.so", - ], - shared_libs: [ - "libhidlbase", - "liblog", - "libutils", - "libcutils", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "32", - prefer: true, - soc_specific: true, -} - cc_prebuilt_library_shared { name: "vendor.qti.hardware.wifidisplaysessionl@1.0-halimpl", owner: "motorola", @@ -6700,42 +7060,6 @@ cc_prebuilt_library_shared { soc_specific: true, } -cc_prebuilt_library_shared { - name: "android.hardware.bluetooth@1.0-impl-qti", - owner: "motorola", - strip: { - none: true, - }, - target: { - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/hw/android.hardware.bluetooth@1.0-impl-qti.so", - ], - shared_libs: [ - "libbase", - "libcutils", - "libhidlbase", - "liblog", - "libutils", - "libdiag", - "libqmiservices", - "libqmi_cci", - "libbtnv", - "android.hardware.bluetooth@1.0", - "libsoc_helper", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "64", - relative_install_path: "hw", - prefer: true, - soc_specific: true, -} - cc_prebuilt_library_shared { name: "android.hardware.gatekeeper@1.0-impl-qti", owner: "motorola", @@ -8068,30 +8392,6 @@ cc_prebuilt_library_shared { soc_specific: true, } -cc_prebuilt_library_shared { - name: "libbtnv", - owner: "motorola", - strip: { - none: true, - }, - target: { - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libbtnv.so", - ], - shared_libs: [ - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "64", - prefer: true, - soc_specific: true, -} - cc_prebuilt_library_shared { name: "libcacertclient", owner: "motorola", @@ -8315,34 +8615,6 @@ cc_prebuilt_library_shared { soc_specific: true, } -cc_prebuilt_library_shared { - name: "libconfigdb", - owner: "motorola", - strip: { - none: true, - }, - target: { - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libconfigdb.so", - ], - shared_libs: [ - "libxml", - "libdsutils", - "libdiag", - "liblog", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "64", - prefer: true, - soc_specific: true, -} - cc_prebuilt_library_shared { name: "libcpion", owner: "motorola", @@ -9368,33 +9640,6 @@ cc_prebuilt_library_shared { soc_specific: true, } -cc_prebuilt_library_shared { - name: "libmdmdetect", - owner: "motorola", - strip: { - none: true, - }, - target: { - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libmdmdetect.so", - ], - shared_libs: [ - "libcutils", - "libutils", - "liblog", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "64", - prefer: true, - soc_specific: true, -} - cc_prebuilt_library_shared { name: "libmemperfd", owner: "motorola", @@ -9563,36 +9808,6 @@ cc_prebuilt_library_shared { soc_specific: true, } -cc_prebuilt_library_shared { - name: "libnetmgr", - owner: "motorola", - strip: { - none: true, - }, - target: { - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libnetmgr.so", - ], - shared_libs: [ - "libdsutils", - "libconfigdb", - "libdiag", - "libcutils", - "liblog", - "libhardware_legacy", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "64", - prefer: true, - soc_specific: true, -} - cc_prebuilt_library_shared { name: "libnetmgr_common", owner: "motorola", @@ -9841,6 +10056,37 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libpowercore", + owner: "motorola", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libpowercore.so", + ], + shared_libs: [ + "libcutils", + "libutils", + "liblog", + "libbinder", + "libtinyxml2", + "vendor.display.config@1.0", + "libhidlbase", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libprekill", owner: "motorola", @@ -11238,31 +11484,6 @@ cc_prebuilt_library_shared { soc_specific: true, } -cc_prebuilt_library_shared { - name: "libsoc_helper", - owner: "motorola", - strip: { - none: true, - }, - target: { - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libsoc_helper.so", - ], - shared_libs: [ - "libcutils", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "64", - prefer: true, - soc_specific: true, -} - cc_prebuilt_library_shared { name: "libspcom", owner: "motorola", @@ -11748,33 +11969,6 @@ cc_prebuilt_library_shared { soc_specific: true, } -cc_prebuilt_library_shared { - name: "libxml", - owner: "motorola", - strip: { - none: true, - }, - target: { - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libxml.so", - ], - shared_libs: [ - "liblog", - "libdiag", - "libcutils", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "64", - prefer: true, - soc_specific: true, -} - cc_prebuilt_library_shared { name: "libxtadapter", owner: "motorola", @@ -15243,34 +15437,6 @@ cc_prebuilt_library_shared { soc_specific: true, } -cc_prebuilt_library_shared { - name: "vendor.qti.qspmhal@1.0", - owner: "motorola", - strip: { - none: true, - }, - target: { - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/vendor.qti.qspmhal@1.0.so", - ], - shared_libs: [ - "libhidlbase", - "liblog", - "libutils", - "libcutils", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "64", - prefer: true, - soc_specific: true, -} - prebuilt_rfsa { name: "bm2n06", filename: "bm2n06.bin", @@ -16784,8 +16950,23 @@ cc_prebuilt_library_shared { "libdl", ], }, + android_arm64: { + srcs: [ + "proprietary/system_ext/lib64/vendor.qti.hardware.wifidisplaysession@1.0.so", + ], + shared_libs: [ + "libhidlbase", + "liblog", + "libutils", + "libcutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, }, - compile_multilib: "32", + compile_multilib: "both", prefer: true, system_ext_specific: true, } diff --git a/proprietary/system_ext/lib64/vendor.qti.hardware.wifidisplaysession@1.0.so b/proprietary/system_ext/lib64/vendor.qti.hardware.wifidisplaysession@1.0.so new file mode 100644 index 0000000..d203a15 Binary files /dev/null and b/proprietary/system_ext/lib64/vendor.qti.hardware.wifidisplaysession@1.0.so differ diff --git a/proprietary/vendor/lib/hw/android.hardware.bluetooth@1.0-impl-qti.so b/proprietary/vendor/lib/hw/android.hardware.bluetooth@1.0-impl-qti.so new file mode 100644 index 0000000..428f186 Binary files /dev/null and b/proprietary/vendor/lib/hw/android.hardware.bluetooth@1.0-impl-qti.so differ diff --git a/proprietary/vendor/lib/libbtnv.so b/proprietary/vendor/lib/libbtnv.so new file mode 100644 index 0000000..f124bb0 Binary files /dev/null and b/proprietary/vendor/lib/libbtnv.so differ diff --git a/proprietary/vendor/lib/libconfigdb.so b/proprietary/vendor/lib/libconfigdb.so new file mode 100644 index 0000000..51ff93f Binary files /dev/null and b/proprietary/vendor/lib/libconfigdb.so differ diff --git a/proprietary/vendor/lib/libmdmdetect.so b/proprietary/vendor/lib/libmdmdetect.so new file mode 100644 index 0000000..301d310 Binary files /dev/null and b/proprietary/vendor/lib/libmdmdetect.so differ diff --git a/proprietary/vendor/lib/libnetmgr.so b/proprietary/vendor/lib/libnetmgr.so new file mode 100644 index 0000000..deb527c Binary files /dev/null and b/proprietary/vendor/lib/libnetmgr.so differ diff --git a/proprietary/vendor/lib/libsoc_helper.so b/proprietary/vendor/lib/libsoc_helper.so new file mode 100644 index 0000000..7012d41 Binary files /dev/null and b/proprietary/vendor/lib/libsoc_helper.so differ diff --git a/proprietary/vendor/lib/libxml.so b/proprietary/vendor/lib/libxml.so new file mode 100644 index 0000000..c3035bd Binary files /dev/null and b/proprietary/vendor/lib/libxml.so differ diff --git a/proprietary/vendor/lib/vendor.qti.qspmhal@1.0.so b/proprietary/vendor/lib/vendor.qti.qspmhal@1.0.so new file mode 100644 index 0000000..a3a9c52 Binary files /dev/null and b/proprietary/vendor/lib/vendor.qti.qspmhal@1.0.so differ diff --git a/proprietary/vendor/lib64/libpowercore.so b/proprietary/vendor/lib64/libpowercore.so new file mode 100644 index 0000000..b4ca3df Binary files /dev/null and b/proprietary/vendor/lib64/libpowercore.so differ diff --git a/proprietary/vendor/lib64/vendor.qti.hardware.wifidisplaysession@1.0.so b/proprietary/vendor/lib64/vendor.qti.hardware.wifidisplaysession@1.0.so new file mode 100644 index 0000000..9986b18 Binary files /dev/null and b/proprietary/vendor/lib64/vendor.qti.hardware.wifidisplaysession@1.0.so differ diff --git a/sm7325-common-vendor.mk b/sm7325-common-vendor.mk index d5fcf5c..a7da9b8 100644 --- a/sm7325-common-vendor.mk +++ b/sm7325-common-vendor.mk @@ -330,6 +330,7 @@ PRODUCT_PACKAGES += \ libGLESv2_adreno \ libq3dtools_adreno \ libq3dtools_esx \ + android.hardware.bluetooth@1.0-impl-qti \ vendor.qti.hardware.bluetooth_audio@2.0-impl \ vendor.qti.hardware.bluetooth_audio@2.1-impl \ vendor.qti.hardware.bluetooth_sar@1.1-impl \ @@ -359,12 +360,14 @@ PRODUCT_PACKAGES += \ libaudcal \ libbluetooth_audio_session_qti \ libbluetooth_audio_session_qti_2_1 \ + libbtnv \ libc2d30_bltlib \ libcapiv2svacnn \ libcapiv2svarnn \ libcapiv2vop \ libcdsp_default_listener \ libcdsprpc \ + libconfigdb \ libcvp2_1 \ libcvp_common \ libcvp_util \ @@ -386,9 +389,11 @@ PRODUCT_PACKAGES += \ liblistensoundmodel2 \ libllvm-glnext \ libllvm-qcom \ + libmdmdetect \ libmdsprpc \ libmmosal \ libmulawdec \ + libnetmgr \ libperfconfig \ libperfgluelayer \ libperfioctl \ @@ -417,11 +422,13 @@ PRODUCT_PACKAGES += \ libscveObjectSegmentation_stub \ libscveObjectTracker \ libscveObjectTracker_stub \ + libsoc_helper \ libthermalclient \ libvppclient \ libvpphcp \ libvpphvx \ libvpplibrary \ + libxml \ libasphere \ libqcbassboost \ libqcreverb \ @@ -437,8 +444,10 @@ PRODUCT_PACKAGES += \ vendor.qti.hardware.vpp@1.2 \ vendor.qti.hardware.vpp@1.3 \ vendor.qti.hardware.vpp@2.0 \ + vendor.qti.hardware.wifidisplaysession@1.0 \ vendor.qti.memory.pasrmanager@1.0 \ vendor.qti.memory.pasrmanager@1.1 \ + vendor.qti.qspmhal@1.0 \ libDxHdcp \ libFileMux_proprietary \ libOmxDsdDec \ @@ -479,7 +488,6 @@ PRODUCT_PACKAGES += \ libwfdutils_proprietary \ libmmieffectswrapper \ libspeakerbundle \ - vendor.qti.hardware.wifidisplaysession@1.0 \ vendor.qti.hardware.wifidisplaysessionl@1.0-halimpl \ com.qualcomm.qti.dpm.api@1.0_vendor \ com.qualcomm.qti.imscmservice@1.0 \ @@ -491,7 +499,6 @@ PRODUCT_PACKAGES += \ com.qualcomm.qti.uceservice@2.2 \ com.qualcomm.qti.uceservice@2.3 \ deviceInfoServiceModuleNr \ - android.hardware.bluetooth@1.0-impl-qti \ android.hardware.gatekeeper@1.0-impl-qti \ com.dsi.ant@1.0-impl \ vendor.qti.gnss@4.2-impl \ @@ -532,7 +539,6 @@ PRODUCT_PACKAGES += \ libaoa \ libappclassifier \ libbt-hidlclient \ - libbtnv \ libcacertclient \ libcdfw \ libcdfw_remote_api \ @@ -540,7 +546,6 @@ PRODUCT_PACKAGES += \ libcneapiclient \ libcneoplookup \ libcneqmiutils \ - libconfigdb \ libcpion \ libdataitems \ libdisp-aba \ @@ -575,14 +580,12 @@ PRODUCT_PACKAGES += \ liblowi_wifihal \ liblqe \ libmdmcutback \ - libmdmdetect \ libmemperfd \ libmeters-ns \ libmeters \ libminkdescriptor \ libminksocket \ libmotext_inf \ - libnetmgr \ libnetmgr_common \ libnetmgr_nr_fusion \ libnetmgr_rmnet_ext \ @@ -591,6 +594,7 @@ PRODUCT_PACKAGES += \ libpdmapper \ libpdnotifier \ libperipheral_client \ + libpowercore \ libprekill \ libqcbor \ libqcc_file_agent \ @@ -637,7 +641,6 @@ PRODUCT_PACKAGES += \ libsns_low_lat_stream_stub \ libsnsapi \ libsnsdiaglog \ - libsoc_helper \ libspcom \ libspl \ libsplh \ @@ -654,7 +657,6 @@ PRODUCT_PACKAGES += \ libwms \ libwqe \ libwvhidl \ - libxml \ libxtadapter \ qcrilMarshal \ qcril_client \ @@ -769,7 +771,6 @@ PRODUCT_PACKAGES += \ vendor.qti.latency@2.0 \ vendor.qti.latency@2.1 \ vendor.qti.qspmhal@1.0-impl \ - vendor.qti.qspmhal@1.0 \ bm2n06 \ bm2n08 \ bm2n12 \