logd: enable -Wextra
Also drop -Wall and -Werror since they're included by default now.
Test: build
Change-Id: Ib0f33d2f02e00aaf544cb0ce5acec5d8acaa8a81
diff --git a/logd/Android.bp b/logd/Android.bp
index b6d30cd..ea1054d 100644
--- a/logd/Android.bp
+++ b/logd/Android.bp
@@ -52,7 +52,9 @@
export_include_dirs: ["."],
- cflags: ["-Werror"] + event_flag,
+ cflags: [
+ "-Wextra",
+ ] + event_flag,
}
cc_binary {
@@ -75,7 +77,9 @@
"libcap",
],
- cflags: ["-Werror"],
+ cflags: [
+ "-Wextra",
+ ],
}
cc_binary {
@@ -90,10 +94,8 @@
shared_libs: ["libbase"],
cflags: [
- "-Wall",
+ "-Wconversion",
"-Wextra",
- "-Werror",
- "-Wconversion"
],
}