Эх сурвалжийг харах

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 <[email protected]>
Michael Adisumarta 2 жил өмнө
parent
commit
6dfbf84ead

+ 1 - 5
ipanat/Android.bp

@@ -24,10 +24,6 @@ cc_library_shared {
     vendor: true,
     clang: true,
 
-    clang_cflags: [
-        "-DDEBUG",
-        "-DFEATURE_IPA_ANDROID",
-        "-Wno-int-conversion",
-    ],
+    cflags: ["-DDEBUG"] + ["-DFEATURE_IPA_ANDROID"] + ["-Wno-int-conversion"],
 
 }

+ 1 - 5
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"],