sm8250-common: Setup prebuilt a-HAL
This commit is contained in:
281
Android.bp
281
Android.bp
@@ -2204,6 +2204,69 @@ cc_prebuilt_library_shared {
|
|||||||
soc_specific: true,
|
soc_specific: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_library_shared {
|
||||||
|
name: "libaudioparsers",
|
||||||
|
owner: "xiaomi",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
target: {
|
||||||
|
android_arm: {
|
||||||
|
srcs: [
|
||||||
|
"proprietary/vendor/lib/libaudioparsers.so",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"libutils",
|
||||||
|
"liblog",
|
||||||
|
"libc++",
|
||||||
|
"libc",
|
||||||
|
"libm",
|
||||||
|
"libdl",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "32",
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_library_shared {
|
||||||
|
name: "libbatterylistener",
|
||||||
|
owner: "xiaomi",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
target: {
|
||||||
|
android_arm: {
|
||||||
|
srcs: [
|
||||||
|
"proprietary/vendor/lib/libbatterylistener.so",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"android.hardware.health@1.0",
|
||||||
|
"android.hardware.health@2.0",
|
||||||
|
"android.hardware.power@1.2",
|
||||||
|
"libaudioroute",
|
||||||
|
"libaudioutils",
|
||||||
|
"libbase",
|
||||||
|
"libcutils",
|
||||||
|
"libexpat",
|
||||||
|
"libhidlbase",
|
||||||
|
"liblog",
|
||||||
|
"libtinyalsa",
|
||||||
|
"libtinycompress",
|
||||||
|
"libutils",
|
||||||
|
"libc++",
|
||||||
|
"libc",
|
||||||
|
"libm",
|
||||||
|
"libdl",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "32",
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
cc_prebuilt_library_shared {
|
cc_prebuilt_library_shared {
|
||||||
name: "libbluetooth_audio_session_qti",
|
name: "libbluetooth_audio_session_qti",
|
||||||
owner: "xiaomi",
|
owner: "xiaomi",
|
||||||
@@ -2348,6 +2411,37 @@ cc_prebuilt_library_shared {
|
|||||||
soc_specific: true,
|
soc_specific: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_library_shared {
|
||||||
|
name: "libcomprcapture",
|
||||||
|
owner: "xiaomi",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
target: {
|
||||||
|
android_arm: {
|
||||||
|
srcs: [
|
||||||
|
"proprietary/vendor/lib/libcomprcapture.so",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"libaudioutils",
|
||||||
|
"libcutils",
|
||||||
|
"liblog",
|
||||||
|
"libtinyalsa",
|
||||||
|
"libtinycompress",
|
||||||
|
"libaudioroute",
|
||||||
|
"libexpat",
|
||||||
|
"libc++",
|
||||||
|
"libc",
|
||||||
|
"libm",
|
||||||
|
"libdl",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "32",
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
cc_prebuilt_library_shared {
|
cc_prebuilt_library_shared {
|
||||||
name: "libdeccfg",
|
name: "libdeccfg",
|
||||||
owner: "xiaomi",
|
owner: "xiaomi",
|
||||||
@@ -2377,6 +2471,37 @@ cc_prebuilt_library_shared {
|
|||||||
soc_specific: true,
|
soc_specific: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_library_shared {
|
||||||
|
name: "libexthwplugin",
|
||||||
|
owner: "xiaomi",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
target: {
|
||||||
|
android_arm: {
|
||||||
|
srcs: [
|
||||||
|
"proprietary/vendor/lib/libexthwplugin.so",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"libaudioroute",
|
||||||
|
"libaudioutils",
|
||||||
|
"libcutils",
|
||||||
|
"libexpat",
|
||||||
|
"liblog",
|
||||||
|
"libtinyalsa",
|
||||||
|
"libtinycompress",
|
||||||
|
"libc++",
|
||||||
|
"libc",
|
||||||
|
"libm",
|
||||||
|
"libdl",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "32",
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
cc_prebuilt_library_shared {
|
cc_prebuilt_library_shared {
|
||||||
name: "libfastcrc",
|
name: "libfastcrc",
|
||||||
owner: "xiaomi",
|
owner: "xiaomi",
|
||||||
@@ -2508,6 +2633,100 @@ cc_prebuilt_library_shared {
|
|||||||
soc_specific: 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",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "32",
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_library_shared {
|
||||||
|
name: "libhdmipassthru",
|
||||||
|
owner: "xiaomi",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
target: {
|
||||||
|
android_arm: {
|
||||||
|
srcs: [
|
||||||
|
"proprietary/vendor/lib/libhdmipassthru.so",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"libaudioparsers",
|
||||||
|
"libaudioroute",
|
||||||
|
"libaudioutils",
|
||||||
|
"libcutils",
|
||||||
|
"libexpat",
|
||||||
|
"liblog",
|
||||||
|
"libtinyalsa",
|
||||||
|
"libtinycompress",
|
||||||
|
"libc++",
|
||||||
|
"libc",
|
||||||
|
"libm",
|
||||||
|
"libdl",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "32",
|
||||||
|
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",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "32",
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
cc_prebuilt_library_shared {
|
cc_prebuilt_library_shared {
|
||||||
name: "liblistensoundmodel2",
|
name: "liblistensoundmodel2",
|
||||||
owner: "xiaomi",
|
owner: "xiaomi",
|
||||||
@@ -2906,6 +3125,68 @@ cc_prebuilt_library_shared {
|
|||||||
soc_specific: true,
|
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",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "32",
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_prebuilt_library_shared {
|
||||||
|
name: "libspkrprot",
|
||||||
|
owner: "xiaomi",
|
||||||
|
strip: {
|
||||||
|
none: true,
|
||||||
|
},
|
||||||
|
target: {
|
||||||
|
android_arm: {
|
||||||
|
srcs: [
|
||||||
|
"proprietary/vendor/lib/libspkrprot.so",
|
||||||
|
],
|
||||||
|
shared_libs: [
|
||||||
|
"libaudioutils",
|
||||||
|
"libcutils",
|
||||||
|
"liblog",
|
||||||
|
"libtinyalsa",
|
||||||
|
"libtinycompress",
|
||||||
|
"libaudioroute",
|
||||||
|
"libexpat",
|
||||||
|
"libc++",
|
||||||
|
"libc",
|
||||||
|
"libm",
|
||||||
|
"libdl",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
compile_multilib: "32",
|
||||||
|
prefer: true,
|
||||||
|
soc_specific: true,
|
||||||
|
}
|
||||||
|
|
||||||
cc_prebuilt_library_shared {
|
cc_prebuilt_library_shared {
|
||||||
name: "libssrec",
|
name: "libssrec",
|
||||||
owner: "xiaomi",
|
owner: "xiaomi",
|
||||||
|
|||||||
BIN
proprietary/vendor/lib/libaudioparsers.so
vendored
Normal file
BIN
proprietary/vendor/lib/libaudioparsers.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib/libbatterylistener.so
vendored
Normal file
BIN
proprietary/vendor/lib/libbatterylistener.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib/libcomprcapture.so
vendored
Normal file
BIN
proprietary/vendor/lib/libcomprcapture.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib/libexthwplugin.so
vendored
Normal file
BIN
proprietary/vendor/lib/libexthwplugin.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib/libhdmiedid.so
vendored
Normal file
BIN
proprietary/vendor/lib/libhdmiedid.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib/libhdmipassthru.so
vendored
Normal file
BIN
proprietary/vendor/lib/libhdmipassthru.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib/libhfp.so
vendored
Normal file
BIN
proprietary/vendor/lib/libhfp.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib/libsndmonitor.so
vendored
Normal file
BIN
proprietary/vendor/lib/libsndmonitor.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib/libspkrprot.so
vendored
Normal file
BIN
proprietary/vendor/lib/libspkrprot.so
vendored
Normal file
Binary file not shown.
@@ -191,17 +191,24 @@ PRODUCT_PACKAGES += \
|
|||||||
libadm \
|
libadm \
|
||||||
libadpcmdec \
|
libadpcmdec \
|
||||||
libaudcal \
|
libaudcal \
|
||||||
|
libaudioparsers \
|
||||||
|
libbatterylistener \
|
||||||
libbluetooth_audio_session_qti \
|
libbluetooth_audio_session_qti \
|
||||||
libbluetooth_audio_session_qti_2_1 \
|
libbluetooth_audio_session_qti_2_1 \
|
||||||
libcapiv2svacnn \
|
libcapiv2svacnn \
|
||||||
libcapiv2svarnn \
|
libcapiv2svarnn \
|
||||||
libcapiv2vop \
|
libcapiv2vop \
|
||||||
|
libcomprcapture \
|
||||||
libdeccfg \
|
libdeccfg \
|
||||||
|
libexthwplugin \
|
||||||
libfastcrc \
|
libfastcrc \
|
||||||
libgcs-calwrapper \
|
libgcs-calwrapper \
|
||||||
libgcs-ipc \
|
libgcs-ipc \
|
||||||
libgcs-osal \
|
libgcs-osal \
|
||||||
libgcs \
|
libgcs \
|
||||||
|
libhdmiedid \
|
||||||
|
libhdmipassthru \
|
||||||
|
libhfp \
|
||||||
liblistensoundmodel2 \
|
liblistensoundmodel2 \
|
||||||
libmm-hdcpmgr \
|
libmm-hdcpmgr \
|
||||||
libmmosal_vendor \
|
libmmosal_vendor \
|
||||||
@@ -216,6 +223,8 @@ PRODUCT_PACKAGES += \
|
|||||||
libqcodec2_v4l2codec \
|
libqcodec2_v4l2codec \
|
||||||
libqtigef \
|
libqtigef \
|
||||||
libsmwrapper \
|
libsmwrapper \
|
||||||
|
libsndmonitor \
|
||||||
|
libspkrprot \
|
||||||
libssrec \
|
libssrec \
|
||||||
libstagefright_soft_ac4dec \
|
libstagefright_soft_ac4dec \
|
||||||
libstagefright_soft_ddpdec \
|
libstagefright_soft_ddpdec \
|
||||||
|
|||||||
Reference in New Issue
Block a user