diff --git a/Android.bp b/Android.bp index b178306..85fa5a1 100644 --- a/Android.bp +++ b/Android.bp @@ -853,6 +853,7 @@ cc_prebuilt_library_shared { "libmisops", "vendor.qti.hardware.pal@1.0-impl", "vendor.qti.hardware.pal@1.0", + "vendor.qti.hardware.AGMIPC@1.0-impl", "vendor.qti.hardware.AGMIPC@1.0", "libvoipspacespeech", "libc++", @@ -863,7 +864,6 @@ cc_prebuilt_library_shared { }, }, compile_multilib: "64", - check_elf_files: false, relative_install_path: "hw", prefer: true, soc_specific: true, @@ -2805,6 +2805,84 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "lib_bt_aptx", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/lib_bt_aptx.so", + ], + shared_libs: [ + "libcutils", + "liblog", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "lib_bt_ble", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/lib_bt_ble.so", + ], + shared_libs: [ + "libcutils", + "liblog", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "lib_bt_bundle", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/lib_bt_bundle.so", + ], + shared_libs: [ + "libcutils", + "liblog", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "lib_bt_lhdc", owner: "xiaomi", @@ -3010,9 +3088,12 @@ cc_prebuilt_library_shared { "proprietary/vendor/lib64/libagm.so", ], shared_libs: [ + "libar-gsl", "liblog", "libcutils", + "liblx-osal", "libaudioroute-v34", + "libats", "libarmemlog", "libmisight", "libxlog", @@ -3027,7 +3108,114 @@ cc_prebuilt_library_shared { }, }, compile_multilib: "64", - check_elf_files: false, + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libagmmixer", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libagmmixer.so", + ], + shared_libs: [ + "libtinyalsa", + "libexpat", + "libcutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libar-acdb", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libar-acdb.so", + ], + shared_libs: [ + "liblx-osal", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libar-gpr", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libar-gpr.so", + ], + shared_libs: [ + "liblx-osal", + "libcutils", + "liblog", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libar-gsl", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libar-gsl.so", + ], + shared_libs: [ + "liblx-osal", + "libar-acdb", + "liblx-ar_util", + "libar-gpr", + "libcutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", prefer: true, soc_specific: true, } @@ -3044,11 +3232,14 @@ cc_prebuilt_library_shared { "proprietary/vendor/lib64/libar-pal.so", ], shared_libs: [ + "libar-gsl", "liblog", "libexpat", + "liblx-osal", "libaudioroute-v34", "libcutils", "libutilscallstack", + "libagmclient", "libaudioroute_ext", "libvui_intf", "libarmemlog", @@ -3069,7 +3260,6 @@ cc_prebuilt_library_shared { }, }, compile_multilib: "64", - check_elf_files: false, prefer: true, soc_specific: true, } @@ -3088,6 +3278,37 @@ cc_prebuilt_library_shared { shared_libs: [ "liblog", "libexpat", + "liblx-osal", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "libats", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libats.so", + ], + shared_libs: [ + "liblx-osal", + "libutils", + "libcutils", + "libdiag", + "libar-gsl", + "libar-acdb", "libc++", "libc", "libm", @@ -3096,7 +3317,6 @@ cc_prebuilt_library_shared { }, }, compile_multilib: "64", - check_elf_files: false, prefer: true, soc_specific: true, } @@ -4143,6 +4363,33 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libcustomva_intf", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libcustomva_intf.so", + ], + shared_libs: [ + "liblog", + "libcutils", + "liblx-osal", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libcv_common", owner: "xiaomi", @@ -6062,6 +6309,33 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libhotword_intf", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libhotword_intf.so", + ], + shared_libs: [ + "liblog", + "libcutils", + "liblx-osal", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libidl", owner: "xiaomi", @@ -7352,6 +7626,66 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "liblx-ar_util", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/liblx-ar_util.so", + ], + shared_libs: [ + "liblog", + "liblx-osal", + "libxlog", + "libmisight", + "libcutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + +cc_prebuilt_library_shared { + name: "liblx-osal", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/liblx-osal.so", + ], + shared_libs: [ + "liblog", + "libxlog", + "libdiag", + "libion", + "libpdmapper", + "libpdnotifier", + "libcutils", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libmapdata_api", owner: "xiaomi", @@ -7435,9 +7769,12 @@ cc_prebuilt_library_shared { shared_libs: [ "libagm", "libaudioroute-v34", + "libar-acdb", "liblog", "libcutils", + "libats", "libexpat", + "liblx-osal", "libtinyalsa", "libc++", "libc", @@ -7447,7 +7784,6 @@ cc_prebuilt_library_shared { }, }, compile_multilib: "64", - check_elf_files: false, prefer: true, soc_specific: true, } @@ -8856,6 +9192,42 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "libpalclient", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/libpalclient.so", + ], + shared_libs: [ + "libhidlbase", + "libhidltransport", + "libutils", + "liblog", + "libcutils", + "libfmq", + "libhardware", + "libbase", + "vendor.qti.hardware.pal@1.0", + "android.hidl.allocator@1.0", + "android.hidl.memory@1.0", + "libhidlmemory", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "libpdmapper", owner: "xiaomi", @@ -9281,6 +9653,7 @@ cc_prebuilt_library_shared { "libqc2audio_basecodec", "libcodec2_vndk", "libstagefright_foundation", + "libpalclient", "libc++", "libc", "libm", @@ -9289,7 +9662,6 @@ cc_prebuilt_library_shared { }, }, compile_multilib: "64", - check_elf_files: false, prefer: true, soc_specific: true, } @@ -14610,6 +14982,7 @@ cc_prebuilt_library_shared { shared_libs: [ "liblog", "libcutils", + "liblx-osal", "libc++", "libc", "libm", @@ -14618,7 +14991,6 @@ cc_prebuilt_library_shared { }, }, compile_multilib: "64", - check_elf_files: false, prefer: true, soc_specific: true, } @@ -17734,6 +18106,40 @@ cc_prebuilt_library_shared { soc_specific: true, } +cc_prebuilt_library_shared { + name: "vendor.qti.hardware.AGMIPC@1.0-impl", + owner: "xiaomi", + strip: { + none: true, + }, + target: { + android_arm64: { + srcs: [ + "proprietary/vendor/lib64/vendor.qti.hardware.AGMIPC@1.0-impl.so", + ], + shared_libs: [ + "libhidlbase", + "libutils", + "liblog", + "libcutils", + "libhardware", + "libbase", + "libar-gsl", + "vendor.qti.hardware.AGMIPC@1.0", + "libutilscallstack", + "libagm", + "libc++", + "libc", + "libm", + "libdl", + ], + }, + }, + compile_multilib: "64", + prefer: true, + soc_specific: true, +} + cc_prebuilt_library_shared { name: "vendor.qti.hardware.ListenSoundModel@1.0-impl", owner: "xiaomi", @@ -33256,6 +33662,7 @@ cc_prebuilt_library_shared { shared_libs: [ "liblog", "libtinyalsa", + "libagmmixer", "audio.primary.pineapple", "libagm", "libc++", @@ -33266,7 +33673,6 @@ cc_prebuilt_library_shared { }, }, compile_multilib: "64", - check_elf_files: false, prefer: true, device_specific: true, } @@ -34561,6 +34967,7 @@ cc_prebuilt_library_shared { shared_libs: [ "liblog", "libtinyalsa", + "libagmmixer", "audio.primary.pineapple", "libagm", "libc++", @@ -34571,7 +34978,6 @@ cc_prebuilt_library_shared { }, }, compile_multilib: "64", - check_elf_files: false, prefer: true, device_specific: true, } @@ -34912,6 +35318,7 @@ cc_prebuilt_library_shared { shared_libs: [ "liblog", "libtinyalsa", + "libagmmixer", "libar-pal", "audio.primary.pineapple", "libagm", @@ -34923,7 +35330,6 @@ cc_prebuilt_library_shared { }, }, compile_multilib: "64", - check_elf_files: false, prefer: true, device_specific: true, } diff --git a/peridot-vendor.mk b/peridot-vendor.mk index 4fb3195..749269c 100644 --- a/peridot-vendor.mk +++ b/peridot-vendor.mk @@ -1128,20 +1128,6 @@ PRODUCT_COPY_FILES += \ vendor/xiaomi/peridot/proprietary/vendor/firmware/gen71100_sqe.fw:$(TARGET_COPY_OUT_VENDOR)/firmware/gen71100_sqe.fw \ vendor/xiaomi/peridot/proprietary/vendor/firmware/gmu_gen70900.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/gmu_gen70900.bin \ vendor/xiaomi/peridot/proprietary/vendor/lib64/android.hardware.audio.common@7.1-util.so:$(TARGET_COPY_OUT_VENDOR)/lib64/android.hardware.audio.common@7.1-util.so \ - vendor/xiaomi/peridot/proprietary/vendor/lib64/lib_bt_aptx.so:$(TARGET_COPY_OUT_VENDOR)/lib64/lib_bt_aptx.so \ - vendor/xiaomi/peridot/proprietary/vendor/lib64/lib_bt_ble.so:$(TARGET_COPY_OUT_VENDOR)/lib64/lib_bt_ble.so \ - vendor/xiaomi/peridot/proprietary/vendor/lib64/lib_bt_bundle.so:$(TARGET_COPY_OUT_VENDOR)/lib64/lib_bt_bundle.so \ - vendor/xiaomi/peridot/proprietary/vendor/lib64/libagmmixer.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libagmmixer.so \ - vendor/xiaomi/peridot/proprietary/vendor/lib64/libar-acdb.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libar-acdb.so \ - vendor/xiaomi/peridot/proprietary/vendor/lib64/libar-gpr.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libar-gpr.so \ - vendor/xiaomi/peridot/proprietary/vendor/lib64/libar-gsl.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libar-gsl.so \ - vendor/xiaomi/peridot/proprietary/vendor/lib64/libats.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libats.so \ - vendor/xiaomi/peridot/proprietary/vendor/lib64/libcustomva_intf.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcustomva_intf.so \ - vendor/xiaomi/peridot/proprietary/vendor/lib64/libhotword_intf.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libhotword_intf.so \ - vendor/xiaomi/peridot/proprietary/vendor/lib64/liblx-ar_util.so:$(TARGET_COPY_OUT_VENDOR)/lib64/liblx-ar_util.so \ - vendor/xiaomi/peridot/proprietary/vendor/lib64/liblx-osal.so:$(TARGET_COPY_OUT_VENDOR)/lib64/liblx-osal.so \ - vendor/xiaomi/peridot/proprietary/vendor/lib64/libpalclient.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libpalclient.so \ - vendor/xiaomi/peridot/proprietary/vendor/lib64/vendor.qti.hardware.AGMIPC@1.0-impl.so:$(TARGET_COPY_OUT_VENDOR)/lib64/vendor.qti.hardware.AGMIPC@1.0-impl.so \ vendor/xiaomi/peridot/proprietary/vendor/libnfc-nxp_RF.conf:$(TARGET_COPY_OUT_VENDOR)/libnfc-nxp_RF.conf PRODUCT_PACKAGES += \ @@ -1234,6 +1220,9 @@ PRODUCT_PACKAGES += \ libTxPwrJni \ libVoiceSdk \ libWlanServiceJni \ + lib_bt_aptx \ + lib_bt_ble \ + lib_bt_bundle \ lib_bt_lhdc \ lib_misound_asc \ libadm \ @@ -1242,8 +1231,13 @@ PRODUCT_PACKAGES += \ libadsp_default_listener \ libadsprpc \ libagm \ + libagmmixer \ + libar-acdb \ + libar-gpr \ + libar-gsl \ libar-pal \ libarmemlog \ + libats \ libaudio_log_utils \ libaudiocloudctrl \ libaudiofeaturestats \ @@ -1279,6 +1273,7 @@ PRODUCT_PACKAGES += \ libconfigdb \ libcpion \ libcppbor_peridot \ + libcustomva_intf \ libcv_common \ libdapparamstorage \ libdataitems \ @@ -1344,6 +1339,7 @@ PRODUCT_PACKAGES += \ libhdrdynamicootf \ libhdrvivid \ libhistogram \ + libhotword_intf \ libidl \ libintervmipc \ libizat_client_api \ @@ -1387,6 +1383,8 @@ PRODUCT_PACKAGES += \ liblowi_common \ liblowi_wifihal \ liblqe \ + liblx-ar_util \ + liblx-osal \ libmapdata_api \ libmasc \ libmcs \ @@ -1439,6 +1437,7 @@ PRODUCT_PACKAGES += \ libops \ libos \ libpal_net_if \ + libpalclient \ libpdmapper \ libpdnotifier \ libperfconfig \ @@ -1736,6 +1735,7 @@ PRODUCT_PACKAGES += \ vendor.qti.data.slm@1.0 \ vendor.qti.diaghal@1.0_vendor \ vendor.qti.gnss-V6-ndk \ + vendor.qti.hardware.AGMIPC@1.0-impl \ vendor.qti.hardware.ListenSoundModel@1.0-impl \ vendor.qti.hardware.ListenSoundModel@1.0 \ vendor.qti.hardware.alarm-V1-ndk \