raphael: Patch audio to load libaudioroute-v34.so
Change-Id: Idad20512982b8753820fffa6d956df137e462638 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Signed-off-by: firebird11 <hbgassel@gmail.com>
This commit is contained in:
38
Android.bp
38
Android.bp
@@ -13,7 +13,7 @@ soong_namespace {
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "audio.primary.raphael",
|
||||
name: "audio.primary.msmnile",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
@@ -21,7 +21,7 @@ cc_prebuilt_library_shared {
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib/hw/audio.primary.raphael.so",
|
||||
"proprietary/vendor/lib/hw/audio.primary.msmnile.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
@@ -29,7 +29,7 @@ cc_prebuilt_library_shared {
|
||||
"libcutils",
|
||||
"libtinyalsa",
|
||||
"libtinycompress",
|
||||
"libaudioroute",
|
||||
"libaudioroute-v34",
|
||||
"libaudioutils",
|
||||
"libexpat",
|
||||
"libhidlbase",
|
||||
@@ -37,6 +37,7 @@ cc_prebuilt_library_shared {
|
||||
"libutils",
|
||||
"libaudioroute_ext",
|
||||
"libhardware_legacy",
|
||||
"libresampler",
|
||||
"libaudio_log_utils",
|
||||
"vendor.qti.hardware.audiohalext@1.0",
|
||||
"android.hardware.power@1.2",
|
||||
@@ -88,7 +89,7 @@ cc_prebuilt_library_shared {
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "liba2dpoffload_raphael",
|
||||
name: "liba2dpoffload",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
@@ -96,7 +97,7 @@ cc_prebuilt_library_shared {
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib/liba2dpoffload_raphael.so",
|
||||
"proprietary/vendor/lib/liba2dpoffload.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"libaudioutils",
|
||||
@@ -240,7 +241,7 @@ cc_prebuilt_library_shared {
|
||||
"liblog",
|
||||
"libcutils",
|
||||
"libtinyalsa",
|
||||
"libaudioroute",
|
||||
"libaudioroute-v34",
|
||||
"libexpat",
|
||||
"libc++",
|
||||
"libc",
|
||||
@@ -310,6 +311,31 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libresampler",
|
||||
owner: "xiaomi",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: [
|
||||
"proprietary/vendor/lib/libresampler.so",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libssrec",
|
||||
owner: "xiaomi",
|
||||
|
||||
BIN
proprietary/vendor/lib/hw/audio.primary.msmnile.so
vendored
Normal file
BIN
proprietary/vendor/lib/hw/audio.primary.msmnile.so
vendored
Normal file
Binary file not shown.
BIN
proprietary/vendor/lib/hw/audio.primary.raphael.so
vendored
BIN
proprietary/vendor/lib/hw/audio.primary.raphael.so
vendored
Binary file not shown.
Binary file not shown.
BIN
proprietary/vendor/lib/libaudioroute_ext.so
vendored
BIN
proprietary/vendor/lib/libaudioroute_ext.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/libresampler.so
vendored
Normal file
BIN
proprietary/vendor/lib/libresampler.so
vendored
Normal file
Binary file not shown.
@@ -165,9 +165,9 @@ PRODUCT_COPY_FILES += \
|
||||
vendor/xiaomi/raphael/proprietary/vendor/libnfc-nxp_RF.conf:$(TARGET_COPY_OUT_VENDOR)/libnfc-nxp_RF.conf
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
audio.primary.raphael \
|
||||
audio.primary.msmnile \
|
||||
vendor.qti.hardware.audiohalext@1.0-impl \
|
||||
liba2dpoffload_raphael \
|
||||
liba2dpoffload \
|
||||
libadm \
|
||||
libaudio_log_utils \
|
||||
libaudioconfigstore \
|
||||
@@ -175,6 +175,7 @@ PRODUCT_PACKAGES += \
|
||||
libaudioroute_ext \
|
||||
libdrc \
|
||||
libhdmipassthru \
|
||||
libresampler \
|
||||
libssrec \
|
||||
libsurround_3mic_proc \
|
||||
vendor.qti.hardware.audiohalext@1.0 \
|
||||
|
||||
Reference in New Issue
Block a user