Revert "FM: fm_hci/helium: Exclude from OSS builds"
This reverts commit a3f70bbbacba05a9cb2af4b86355c1bd3976c506.
We have the reversed vendor.qti.hardware.fm hidl now
Change-Id: I9c61d938a1acc4a6fc614d36aca71f9d6abc9e91
Signed-off-by: micky387 <mickaelsaibi@free.fr>
diff --git a/fm_hci/Android.bp b/fm_hci/Android.bp
new file mode 100644
index 0000000..366f7a8
--- /dev/null
+++ b/fm_hci/Android.bp
@@ -0,0 +1,30 @@
+
+
+cc_library_shared {
+ name: "libfm-hci",
+
+ srcs: ["fm_hci.cpp"],
+
+ shared_libs: [
+ "libdl",
+ "libcutils",
+ "libbase",
+ "libhidlbase",
+ "liblog",
+ "libutils",
+ "libbinder_ndk",
+ "libbinder",
+ "android.hardware.bluetooth.audio-V3-ndk",
+ "vendor.qti.hardware.fm-V1-ndk",
+ "vendor.qti.hardware.fm@1.0",
+ ],
+
+ cflags: ["-Wno-unused-parameter"],
+
+ include_dirs: [
+ "vendor/qcom/opensource/commonsys/fm/helium",
+ ],
+
+ system_ext_specific: true,
+
+}
diff --git a/helium/Android.bp b/helium/Android.bp
new file mode 100644
index 0000000..b10722e
--- /dev/null
+++ b/helium/Android.bp
@@ -0,0 +1,23 @@
+
+
+cc_library_shared {
+ name: "fm_helium",
+
+ srcs: [
+ "radio_helium_hal.c",
+ "radio_helium_hal_cmds.c",
+ ],
+
+ shared_libs: [
+ "libfm-hci",
+ "libdl",
+ "liblog",
+ "libnativehelper",
+ "libcutils",
+ ],
+
+ include_dirs: ["vendor/qcom/opensource/commonsys/fm/fm_hci"],
+
+ system_ext_specific: true,
+
+}