dataipa: making the ipanat and ipa-kernel-test module compatible
Making cflags of ipanat and ipa-kernel-test modules compatible with the
android variant.
Change-Id: I5509317638a85432c37b76675a5c8aeb5862ec15
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
diff --git a/ipanat/Android.bp b/ipanat/Android.bp
index aecb5b2..0bcf3a0 100644
--- a/ipanat/Android.bp
+++ b/ipanat/Android.bp
@@ -24,10 +24,6 @@
vendor: true,
clang: true,
- clang_cflags: [
- "-DDEBUG",
- "-DFEATURE_IPA_ANDROID",
- "-Wno-int-conversion",
- ],
+ cflags: ["-DDEBUG"] + ["-DFEATURE_IPA_ANDROID"] + ["-Wno-int-conversion"],
}
diff --git a/kernel-tests/Android.bp b/kernel-tests/Android.bp
index 773802e..b189d11 100644
--- a/kernel-tests/Android.bp
+++ b/kernel-tests/Android.bp
@@ -1,11 +1,7 @@
cc_binary {
name: "ipa-kernel-tests",
- clang_cflags: [
- "-Wno-missing-field-initializers",
- "-Wno-int-to-pointer-cast",
- "-Wno-int-conversion",
- ],
+ cflags: ["-Wno-missing-field-initializers"] + ["-Wno-int-to-pointer-cast"] + ["-Wno-int-conversion"],
header_libs: ["device_kernel_headers"]+["qti_kernel_headers"]+["qti_ipa_test_kernel_headers"],