gta4xl-common: Kang AIDL RIL stack from a14

Change-Id: I3e667e2a8b8b1009118e6972723998c274150332
diff --git a/Android.bp b/Android.bp
index 71f2c6c..f2bac0b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -3,6 +3,8 @@
 // This file is generated by device/samsung/gta4xl-common/setup-makefiles.sh
 
 soong_namespace {
+	imports: [
+	],
 }
 
 cc_prebuilt_library_shared {
@@ -129,6 +131,27 @@
 }
 
 cc_prebuilt_library_shared {
+	name: "libsecril-client.exynos9611",
+	stem: "libsecril-client",
+	owner: "samsung",
+	strip: {
+		none: true,
+	},
+	target: {
+		android_arm: {
+			srcs: ["proprietary/vendor/lib/libsecril-client.so"],
+		},
+		android_arm64: {
+			srcs: ["proprietary/vendor/lib64/libsecril-client.so"],
+		},
+	},
+	compile_multilib: "both",
+	check_elf_files: false,
+	prefer: true,
+	soc_specific: true,
+}
+
+cc_prebuilt_library_shared {
 	name: "libsensorlistener",
 	owner: "samsung",
 	strip: {
@@ -303,24 +326,6 @@
 }
 
 cc_prebuilt_library_shared {
-	name: "libsecril-client.exynos9611",
-	stem: "libsecril-client",
-	owner: "samsung",
-	strip: {
-		none: true,
-	},
-	target: {
-		android_arm: {
-			srcs: ["proprietary/vendor/lib/libsecril-client.so"],
-		},
-	},
-	compile_multilib: "32",
-	check_elf_files: false,
-	prefer: true,
-	soc_specific: true,
-}
-
-cc_prebuilt_library_shared {
 	name: "libspatializerparamstorage",
 	owner: "samsung",
 	strip: {
@@ -434,7 +439,12 @@
 cc_prebuilt_binary {
 	name: "android.hardware.drm@1.4-service.widevine",
 	owner: "samsung",
-	srcs: ["proprietary/vendor/bin/hw/android.hardware.drm@1.4-service.widevine"],
+	target: {
+		android_arm: {
+			srcs: ["proprietary/vendor/bin/hw/android.hardware.drm@1.4-service.widevine"],
+		},
+	},
+	compile_multilib: "32",
 	check_elf_files: false,
 	strip: {
 		none: true,
@@ -447,7 +457,12 @@
 cc_prebuilt_binary {
 	name: "vendor.samsung.hardware.gnss@2.0-service",
 	owner: "samsung",
-	srcs: ["proprietary/vendor/bin/hw/vendor.samsung.hardware.gnss@2.0-service"],
+	target: {
+		android_arm64: {
+			srcs: ["proprietary/vendor/bin/hw/vendor.samsung.hardware.gnss@2.0-service"],
+		},
+	},
+	compile_multilib: "64",
 	check_elf_files: false,
 	strip: {
 		none: true,
@@ -460,7 +475,12 @@
 cc_prebuilt_binary {
 	name: "tzdaemon",
 	owner: "samsung",
-	srcs: ["proprietary/vendor/bin/tzdaemon"],
+	target: {
+		android_arm64: {
+			srcs: ["proprietary/vendor/bin/tzdaemon"],
+		},
+	},
+	compile_multilib: "64",
 	check_elf_files: false,
 	strip: {
 		none: true,
@@ -472,7 +492,12 @@
 cc_prebuilt_binary {
 	name: "tzts_daemon",
 	owner: "samsung",
-	srcs: ["proprietary/vendor/bin/tzts_daemon"],
+	target: {
+		android_arm64: {
+			srcs: ["proprietary/vendor/bin/tzts_daemon"],
+		},
+	},
+	compile_multilib: "64",
 	check_elf_files: false,
 	strip: {
 		none: true,
diff --git a/gta4xl-common-vendor.mk b/gta4xl-common-vendor.mk
index 050d3dc..5aef9c7 100644
--- a/gta4xl-common-vendor.mk
+++ b/gta4xl-common-vendor.mk
@@ -78,6 +78,7 @@
     libSEF.quram \
     libexynoscamera_plugin \
     libsecnativefeature \
+    libsecril-client.exynos9611 \
     libsensorlistener \
     libteecl \
     libuniapi \
@@ -87,7 +88,6 @@
     sensors.sensorhub \
     libprofileparamstorage \
     libsecaudiocoreutils \
-    libsecril-client.exynos9611 \
     libspatializerparamstorage \
     libwvhidl \
     libiwt \
diff --git a/proprietary/vendor/lib/libsecril-client.so b/proprietary/vendor/lib/libsecril-client.so
index eb68217..c0cefc8 100644
--- a/proprietary/vendor/lib/libsecril-client.so
+++ b/proprietary/vendor/lib/libsecril-client.so
Binary files differ
diff --git a/proprietary/vendor/lib64/libsecril-client.so b/proprietary/vendor/lib64/libsecril-client.so
new file mode 100644
index 0000000..57cd2a9
--- /dev/null
+++ b/proprietary/vendor/lib64/libsecril-client.so
Binary files differ