mirror of
https://github.com/Evolution-X-Devices/vendor_samsung_d2x
synced 2026-01-27 14:10:38 +00:00
d2x: Build audio HAL from source
Change-Id: Iee9801d1b3086bc7d606d039d46775fa705ecf91
This commit is contained in:
141
Android.bp
141
Android.bp
@@ -166,113 +166,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libaudioeffectoffload",
|
||||
owner: "samsung",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/soundfx/libaudioeffectoffload.so"],
|
||||
},
|
||||
android_arm64: {
|
||||
srcs: ["proprietary/vendor/lib64/soundfx/libaudioeffectoffload.so"],
|
||||
},
|
||||
},
|
||||
compile_multilib: "both",
|
||||
check_elf_files: false,
|
||||
relative_install_path: "soundfx",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "audio.primary.exynos9825",
|
||||
owner: "samsung",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/hw/audio.primary.exynos9825.so"],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
check_elf_files: false,
|
||||
relative_install_path: "hw",
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "lib_SamsungRec_08020",
|
||||
owner: "samsung",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/lib_SamsungRec_08020.so"],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
check_elf_files: false,
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "lib_lvacfs",
|
||||
owner: "samsung",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/lib_lvacfs.so"],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
check_elf_files: false,
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libaudioproxy",
|
||||
owner: "samsung",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/libaudioproxy.so"],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
check_elf_files: false,
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "librecordalive",
|
||||
owner: "samsung",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/librecordalive.so"],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
check_elf_files: false,
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libswdap",
|
||||
owner: "samsung",
|
||||
@@ -291,40 +184,6 @@ cc_prebuilt_library_shared {
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "vendor.samsung.hardware.bluetooth.a2dp@1.0",
|
||||
owner: "samsung",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/vendor.samsung.hardware.bluetooth.a2dp@1.0.so"],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
check_elf_files: false,
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "vendor.samsung_slsi.hardware.ExynosA2DPOffload@3.0",
|
||||
owner: "samsung",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
target: {
|
||||
android_arm: {
|
||||
srcs: ["proprietary/vendor/lib/vendor.samsung_slsi.hardware.ExynosA2DPOffload@3.0.so"],
|
||||
},
|
||||
},
|
||||
compile_multilib: "32",
|
||||
check_elf_files: false,
|
||||
prefer: true,
|
||||
soc_specific: true,
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "android.hardware.gnss@2.1-impl",
|
||||
owner: "samsung",
|
||||
|
||||
@@ -6,9 +6,6 @@ PRODUCT_SOONG_NAMESPACES += \
|
||||
vendor/samsung/d2x
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/samsung/d2x/proprietary/vendor/etc/LVACFS_Calibration.dat:$(TARGET_COPY_OUT_VENDOR)/etc/LVACFS_Calibration.dat \
|
||||
vendor/samsung/d2x/proprietary/vendor/etc/LVACFS_Configuration.txt:$(TARGET_COPY_OUT_VENDOR)/etc/LVACFS_Configuration.txt \
|
||||
vendor/samsung/d2x/proprietary/vendor/etc/LVACFS_ControlParams.txt:$(TARGET_COPY_OUT_VENDOR)/etc/LVACFS_ControlParams.txt \
|
||||
vendor/samsung/d2x/proprietary/vendor/etc/dolby/dax-default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-default.xml \
|
||||
vendor/samsung/d2x/proprietary/vendor/etc/floating_feature.xml:$(TARGET_COPY_OUT_VENDOR)/etc/floating_feature.xml \
|
||||
vendor/samsung/d2x/proprietary/vendor/etc/gnss/gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
|
||||
@@ -99,15 +96,7 @@ PRODUCT_PACKAGES += \
|
||||
libiu456_datapath_processor \
|
||||
sensors.bio \
|
||||
sensors.sensorhub \
|
||||
libaudioeffectoffload \
|
||||
audio.primary.exynos9825 \
|
||||
lib_SamsungRec_08020 \
|
||||
lib_lvacfs \
|
||||
libaudioproxy \
|
||||
librecordalive \
|
||||
libswdap \
|
||||
vendor.samsung.hardware.bluetooth.a2dp@1.0 \
|
||||
vendor.samsung_slsi.hardware.ExynosA2DPOffload@3.0 \
|
||||
android.hardware.gnss@2.1-impl \
|
||||
camera.exynos9825 \
|
||||
gps.default \
|
||||
|
||||
BIN
proprietary/vendor/etc/LVACFS_Calibration.dat
vendored
BIN
proprietary/vendor/etc/LVACFS_Calibration.dat
vendored
Binary file not shown.
27
proprietary/vendor/etc/LVACFS_Configuration.txt
vendored
27
proprietary/vendor/etc/LVACFS_Configuration.txt
vendored
@@ -1,27 +0,0 @@
|
||||
27 // Number_of_arguments
|
||||
12 // MajorBaselineVersion
|
||||
0 // MinorBaselineVersion
|
||||
0 // MinorMinorBaselineVersion
|
||||
12 // PatchBaselineVersion
|
||||
0 // FileType
|
||||
LVM_MODE_ON // AZProc
|
||||
1 // NbProfile
|
||||
LVACFS_RELATIVE_PATH // PathDef
|
||||
1 // DeviceId0
|
||||
./LVACFS_ControlParams.txt // Profile0
|
||||
./LVACFS_Calibration.dat // CalibrationFile
|
||||
LVM_MODE_OFF // EnableDebug
|
||||
LVM_MODE_OFF // StatusReporting
|
||||
./../PCM_Dumps/LVAC_Status.bin // LVAC_StatusFile
|
||||
LVACFS_PCM_MODE_OFF // InPCMSavingMode
|
||||
16000 // InPCMSavingBufferSize
|
||||
./../../data/vendor/log/audiopcm/Ac_in.pcm // InPCMSavingFilename
|
||||
LVACFS_PCM_MODE_OFF // InPCMInjectionMode
|
||||
16000 // InPCMInjectionBufferSize
|
||||
./../PCM_Inject/TestInput.pcm // InPCMInjectionFilename
|
||||
LVACFS_PCM_MODE_OFF // OutPCMSavingMode
|
||||
16000 // OutPCMSavingBufferSize
|
||||
./../../data/vendor/log/audiopcm/Ac_out.pcm // OutPCMSavingFilename
|
||||
LVACFS_PCM_MODE_OFF // OutPCMInjectionMode
|
||||
16000 // OutPCMInjectionBufferSize
|
||||
./../PCM_Inject/TestInput.pcm // OutPCMInjectionFilename
|
||||
3652
proprietary/vendor/etc/LVACFS_ControlParams.txt
vendored
3652
proprietary/vendor/etc/LVACFS_ControlParams.txt
vendored
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
proprietary/vendor/lib/lib_SamsungRec_08020.so
vendored
BIN
proprietary/vendor/lib/lib_SamsungRec_08020.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/lib_lvacfs.so
vendored
BIN
proprietary/vendor/lib/lib_lvacfs.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/libaudioproxy.so
vendored
BIN
proprietary/vendor/lib/libaudioproxy.so
vendored
Binary file not shown.
BIN
proprietary/vendor/lib/librecordalive.so
vendored
BIN
proprietary/vendor/lib/librecordalive.so
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user