gta4xl-common: Build audio HAL from source

Change-Id: Ie942bb524d61536ef7f712aa056593dc8c20e1ff
diff --git a/Android.bp b/Android.bp
index 28404c1..71f2c6c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -109,46 +109,6 @@
 }
 
 cc_prebuilt_library_shared {
-	name: "libfloatingfeature",
-	owner: "samsung",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm: {
-			srcs: ["proprietary/vendor/lib/libfloatingfeature.so"],
-		},
-		android_arm64: {
-			srcs: ["proprietary/vendor/lib64/libfloatingfeature.so"],
-		},
-	},
-	compile_multilib: "both",
-	check_elf_files: false,
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
-	name: "libsecaudioinfo",
-	owner: "samsung",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm: {
-			srcs: ["proprietary/vendor/lib/libsecaudioinfo.so"],
-		},
-		android_arm64: {
-			srcs: ["proprietary/vendor/lib64/libsecaudioinfo.so"],
-		},
-	},
-	compile_multilib: "both",
-	check_elf_files: false,
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
 	name: "libsecnativefeature",
 	owner: "samsung",
 	strip: {
@@ -309,146 +269,6 @@
 }
 
 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: "libSamsungPostProcessConvertor",
-	owner: "samsung",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm: {
-			srcs: ["proprietary/vendor/lib/libSamsungPostProcessConvertor.so"],
-		},
-	},
-	compile_multilib: "32",
-	check_elf_files: false,
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
-	name: "lib_SamsungRec_07010",
-	owner: "samsung",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm: {
-			srcs: ["proprietary/vendor/lib/lib_SamsungRec_07010.so"],
-		},
-	},
-	compile_multilib: "32",
-	check_elf_files: false,
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
-	name: "lib_SoundAlive_SRC384_ver320",
-	owner: "samsung",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm: {
-			srcs: ["proprietary/vendor/lib/lib_SoundAlive_SRC384_ver320.so"],
-		},
-	},
-	compile_multilib: "32",
-	check_elf_files: false,
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
-	name: "lib_soundaliveresampler",
-	owner: "samsung",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm: {
-			srcs: ["proprietary/vendor/lib/lib_soundaliveresampler.so"],
-		},
-	},
-	compile_multilib: "32",
-	check_elf_files: false,
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
-	name: "libalsautils_sec",
-	owner: "samsung",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm: {
-			srcs: ["proprietary/vendor/lib/libalsautils_sec.so"],
-		},
-	},
-	compile_multilib: "32",
-	check_elf_files: false,
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
-	name: "libaudio-ril",
-	owner: "samsung",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm: {
-			srcs: ["proprietary/vendor/lib/libaudio-ril.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: "libprofileparamstorage",
 	owner: "samsung",
 	strip: {
@@ -466,40 +286,6 @@
 }
 
 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: "libsamsungDiamondVoice",
-	owner: "samsung",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm: {
-			srcs: ["proprietary/vendor/lib/libsamsungDiamondVoice.so"],
-		},
-	},
-	compile_multilib: "32",
-	check_elf_files: false,
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
 	name: "libsecaudiocoreutils",
 	owner: "samsung",
 	strip: {
@@ -569,44 +355,6 @@
 }
 
 cc_prebuilt_library_shared {
-	name: "libaudioroute.exynos9611",
-	stem: "libaudioroute",
-	owner: "samsung",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm: {
-			srcs: ["proprietary/vendor/lib/vndk/libaudioroute.so"],
-		},
-	},
-	compile_multilib: "32",
-	check_elf_files: false,
-	relative_install_path: "vndk",
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
-	name: "libtinyalsa.exynos9611",
-	stem: "libtinyalsa",
-	owner: "samsung",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm: {
-			srcs: ["proprietary/vendor/lib/vndk/libtinyalsa.so"],
-		},
-	},
-	compile_multilib: "32",
-	check_elf_files: false,
-	relative_install_path: "vndk",
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
 	name: "libiwt",
 	owner: "samsung",
 	strip: {
diff --git a/gta4xl-common-vendor.mk b/gta4xl-common-vendor.mk
index 004ee32..4bf9d57 100644
--- a/gta4xl-common-vendor.mk
+++ b/gta4xl-common-vendor.mk
@@ -80,8 +80,6 @@
     gatekeeper.exynos9611 \
     libSEF.quram \
     libexynoscamera_plugin \
-    libfloatingfeature \
-    libsecaudioinfo \
     libsecnativefeature \
     libsensorlistener \
     libteecl \
@@ -90,23 +88,11 @@
     libuuid \
     sensors.grip \
     sensors.sensorhub \
-    libaudioeffectoffload \
-    libSamsungPostProcessConvertor \
-    lib_SamsungRec_07010 \
-    lib_SoundAlive_SRC384_ver320 \
-    lib_soundaliveresampler \
-    libalsautils_sec \
-    libaudio-ril \
-    libaudioproxy \
     libprofileparamstorage \
-    librecordalive \
-    libsamsungDiamondVoice \
     libsecaudiocoreutils \
     libsecril-client.exynos9611 \
     libspatializerparamstorage \
     libwvhidl \
-    libaudioroute.exynos9611 \
-    libtinyalsa.exynos9611 \
     libiwt \
     libkeymaster_helper \
     libskeymaster4device \
diff --git a/proprietary/vendor/lib/libSamsungPostProcessConvertor.so b/proprietary/vendor/lib/libSamsungPostProcessConvertor.so
deleted file mode 100644
index 02f7699..0000000
--- a/proprietary/vendor/lib/libSamsungPostProcessConvertor.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib/lib_SamsungRec_07010.so b/proprietary/vendor/lib/lib_SamsungRec_07010.so
deleted file mode 100644
index fd37abb..0000000
--- a/proprietary/vendor/lib/lib_SamsungRec_07010.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib/lib_SoundAlive_SRC384_ver320.so b/proprietary/vendor/lib/lib_SoundAlive_SRC384_ver320.so
deleted file mode 100644
index 2c3304f..0000000
--- a/proprietary/vendor/lib/lib_SoundAlive_SRC384_ver320.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib/lib_soundaliveresampler.so b/proprietary/vendor/lib/lib_soundaliveresampler.so
deleted file mode 100644
index 79078f0..0000000
--- a/proprietary/vendor/lib/lib_soundaliveresampler.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib/libalsautils_sec.so b/proprietary/vendor/lib/libalsautils_sec.so
deleted file mode 100644
index c376501..0000000
--- a/proprietary/vendor/lib/libalsautils_sec.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib/libaudio-ril.so b/proprietary/vendor/lib/libaudio-ril.so
deleted file mode 100644
index 128ce0a..0000000
--- a/proprietary/vendor/lib/libaudio-ril.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib/libaudioproxy.so b/proprietary/vendor/lib/libaudioproxy.so
deleted file mode 100644
index e7cc7b1..0000000
--- a/proprietary/vendor/lib/libaudioproxy.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib/libfloatingfeature.so b/proprietary/vendor/lib/libfloatingfeature.so
deleted file mode 100644
index 0fb4fd5..0000000
--- a/proprietary/vendor/lib/libfloatingfeature.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib/librecordalive.so b/proprietary/vendor/lib/librecordalive.so
deleted file mode 100644
index 611e567..0000000
--- a/proprietary/vendor/lib/librecordalive.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib/libsamsungDiamondVoice.so b/proprietary/vendor/lib/libsamsungDiamondVoice.so
deleted file mode 100644
index 9bd29a8..0000000
--- a/proprietary/vendor/lib/libsamsungDiamondVoice.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib/libsecaudioinfo.so b/proprietary/vendor/lib/libsecaudioinfo.so
deleted file mode 100644
index 1c25e93..0000000
--- a/proprietary/vendor/lib/libsecaudioinfo.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib/soundfx/libaudioeffectoffload.so b/proprietary/vendor/lib/soundfx/libaudioeffectoffload.so
deleted file mode 100644
index 69d92d4..0000000
--- a/proprietary/vendor/lib/soundfx/libaudioeffectoffload.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib/vndk/libaudioroute.so b/proprietary/vendor/lib/vndk/libaudioroute.so
deleted file mode 100644
index ff1da1e..0000000
--- a/proprietary/vendor/lib/vndk/libaudioroute.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib/vndk/libtinyalsa.so b/proprietary/vendor/lib/vndk/libtinyalsa.so
deleted file mode 100644
index a67de91..0000000
--- a/proprietary/vendor/lib/vndk/libtinyalsa.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib64/libfloatingfeature.so b/proprietary/vendor/lib64/libfloatingfeature.so
deleted file mode 100644
index 184530e..0000000
--- a/proprietary/vendor/lib64/libfloatingfeature.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib64/libsecaudioinfo.so b/proprietary/vendor/lib64/libsecaudioinfo.so
deleted file mode 100644
index 457881a..0000000
--- a/proprietary/vendor/lib64/libsecaudioinfo.so
+++ /dev/null
Binary files differ
diff --git a/proprietary/vendor/lib64/soundfx/libaudioeffectoffload.so b/proprietary/vendor/lib64/soundfx/libaudioeffectoffload.so
deleted file mode 100644
index 7ffad68..0000000
--- a/proprietary/vendor/lib64/soundfx/libaudioeffectoffload.so
+++ /dev/null
Binary files differ