From 6c4322db5fc74d619df49b2f2c5719c7c3f7a8dd Mon Sep 17 00:00:00 2001 From: HeroBuxx Date: Mon, 19 Oct 2026 07:27:57 +0000 Subject: [PATCH] platina: Regen vendor tree Signed-off-by: HeroBuxx --- Android.bp | 354 +-------------------- platina-vendor.mk | 7 - proprietary/vendor/lib/hw/camera.sdm660.so | Bin 1311716 -> 1311716 bytes 3 files changed, 1 insertion(+), 360 deletions(-) diff --git a/Android.bp b/Android.bp index ec66fa1..dd5e145 100644 --- a/Android.bp +++ b/Android.bp @@ -120,309 +120,6 @@ cc_prebuilt_library_shared { soc_specific: true, } -cc_prebuilt_library_shared { - name: "audio.primary.sdm660", - owner: "xiaomi", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/hw/audio.primary.sdm660.so", - ], - shared_libs: [ - "libbase", - "liblog", - "libcutils", - "libtinyalsa", - "libtinycompress", - "libaudioroute", - "libaudioutils", - "libexpat", - "libhwbinder", - "libhidlbase", - "libhidltransport", - "libprocessgroup", - "libutils", - "libaudioroute_ext", - "libaudio_log_utils", - "android.hardware.power@1.2", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/hw/audio.primary.sdm660.so", - ], - shared_libs: [ - "libbase", - "liblog", - "libcutils", - "libtinyalsa", - "libtinycompress", - "libaudioroute", - "libaudioutils", - "libexpat", - "libhwbinder", - "libhidlbase", - "libhidltransport", - "libprocessgroup", - "libutils", - "libaudioroute_ext", - "libaudio_log_utils", - "android.hardware.power@1.2", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "both", - relative_install_path: "hw", - prefer: true, - soc_specific: true, -} - -cc_prebuilt_library_shared { - name: "liba2dpoffload", - owner: "xiaomi", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/liba2dpoffload.so", - ], - shared_libs: [ - "libaudioutils", - "libcutils", - "liblog", - "libtinyalsa", - "libtinycompress", - "libaudioroute", - "libexpat", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/liba2dpoffload.so", - ], - shared_libs: [ - "libaudioutils", - "libcutils", - "liblog", - "libtinyalsa", - "libtinycompress", - "libaudioroute", - "libexpat", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "both", - prefer: true, - soc_specific: true, -} - -cc_prebuilt_library_shared { - name: "libaudio_log_utils", - owner: "xiaomi", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/libaudio_log_utils.so", - ], - shared_libs: [ - "libutils", - "libcutils", - "libexpat", - "liblog", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libaudio_log_utils.so", - ], - shared_libs: [ - "libutils", - "libcutils", - "libexpat", - "liblog", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "both", - prefer: true, - soc_specific: true, -} - -cc_prebuilt_library_shared { - name: "libaudioroute_ext", - owner: "xiaomi", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/libaudioroute_ext.so", - ], - shared_libs: [ - "liblog", - "libcutils", - "libtinyalsa", - "libaudioroute", - "libexpat", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libaudioroute_ext.so", - ], - shared_libs: [ - "liblog", - "libcutils", - "libtinyalsa", - "libaudioroute", - "libexpat", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "both", - prefer: true, - soc_specific: true, -} - -cc_prebuilt_library_shared { - name: "libhdmiedid", - owner: "xiaomi", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/libhdmiedid.so", - ], - shared_libs: [ - "libaudioutils", - "libcutils", - "liblog", - "libtinyalsa", - "libtinycompress", - "libaudioroute", - "libexpat", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libhdmiedid.so", - ], - shared_libs: [ - "libaudioutils", - "libcutils", - "liblog", - "libtinyalsa", - "libtinycompress", - "libaudioroute", - "libexpat", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "both", - prefer: true, - soc_specific: true, -} - -cc_prebuilt_library_shared { - name: "libhfp", - owner: "xiaomi", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/libhfp.so", - ], - shared_libs: [ - "libaudioroute", - "libaudioutils", - "libcutils", - "libexpat", - "liblog", - "libtinyalsa", - "libtinycompress", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libhfp.so", - ], - shared_libs: [ - "libaudioroute", - "libaudioutils", - "libcutils", - "libexpat", - "liblog", - "libtinyalsa", - "libtinycompress", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "both", - prefer: true, - soc_specific: true, -} - cc_prebuilt_library_shared { name: "libsensor1", owner: "xiaomi", @@ -515,55 +212,6 @@ cc_prebuilt_library_shared { soc_specific: true, } -cc_prebuilt_library_shared { - name: "libsndmonitor", - owner: "xiaomi", - strip: { - none: true, - }, - target: { - android_arm: { - srcs: [ - "proprietary/vendor/lib/libsndmonitor.so", - ], - shared_libs: [ - "libaudioutils", - "libcutils", - "liblog", - "libtinyalsa", - "libtinycompress", - "libaudioroute", - "libexpat", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - android_arm64: { - srcs: [ - "proprietary/vendor/lib64/libsndmonitor.so", - ], - shared_libs: [ - "libaudioutils", - "libcutils", - "liblog", - "libtinyalsa", - "libtinycompress", - "libaudioroute", - "libexpat", - "libc++", - "libc", - "libm", - "libdl", - ], - }, - }, - compile_multilib: "both", - prefer: true, - soc_specific: true, -} - cc_prebuilt_library_shared { name: "libthermalclient", owner: "xiaomi", @@ -680,7 +328,7 @@ cc_prebuilt_library_shared { "libbinder", "libhal_dbg", "libMiCameraHal", - "android.frameworks.displayservice@1.0", + "lineage.frameworks.displayservice@1.0", "android.hidl.base@1.0", "libhidlbase", "libhidltransport", diff --git a/platina-vendor.mk b/platina-vendor.mk index af0c1e6..fa8bbc4 100644 --- a/platina-vendor.mk +++ b/platina-vendor.mk @@ -92,15 +92,8 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ android.hardware.gatekeeper@1.0-impl-qti \ android.hardware.keymaster@3.0-impl-qti \ - audio.primary.sdm660 \ - liba2dpoffload \ - libaudio_log_utils \ - libaudioroute_ext \ - libhdmiedid \ - libhfp \ libsensor1 \ libsensor_reg \ - libsndmonitor \ libthermalclient \ sensors.ssc \ camera.sdm660 \ diff --git a/proprietary/vendor/lib/hw/camera.sdm660.so b/proprietary/vendor/lib/hw/camera.sdm660.so index 2d58440516c78fe0da981b34de50460fad69830e..23523373d0fc68c1a219a076bd00bee69e8bbed3 100644 GIT binary patch delta 473 zcmaFT9`K|+pkWK+ztikFnR%&+>8aaU&oH(L!FbaHUoa|7Uw@yGpWUP&GcVn>Y`S7B zhdFnAl%F|N19l~Lgq4I4R$@U|i7#O#PS}-9fBKM74%4I4tsh|%7KZwtfuPqN(XBI@ z9`%?p6w@Z;Ank9jeZmODOhC*G#4JF}3dC$c%nrmHK+FlmTtLhX#5_RE3&eat%n!r@ QKr9HvLfdPf2&c;f057_>zW@LL delta 386 zcmaFT9`K|+pkWK+ztilAc_~HtnJL>@&oH(L!FbaHUoa|7Uw@yGpUKd0y5C1etLYQo zF!CaVr+a*0RAY-b$;eE}nO^XLQ3XkA&j-ddB(B#-MlU4po{x<2NZjyuj3G$erwb#8qBV)uI)8X z7=f4xh?#+y1&CRJm<@>8ftUk`If0l9h`E872Z(urm=B2gfmi^D1%X&-d(9K!40!-& C$e_yr