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 2d58440..2352337 100644 Binary files a/proprietary/vendor/lib/hw/camera.sdm660.so and b/proprietary/vendor/lib/hw/camera.sdm660.so differ