aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-02 10:03:55 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-03 15:20:09 -0700
commit15607966219d0261f3a30a3146a9a8e2a9a1c1d0 (patch)
treefc8a2941b9b6873755f224bab957239dc1f6650a
parenta2a10e895a779d633ab41e3b856d6e7979cedb3b (diff)
downloadaidl-15607966219d0261f3a30a3146a9a8e2a9a1c1d0.tar.gz
Use -Werror in system/tools/aidl
* Move flags clang_cflags to cflags. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ib47ca58b71fca2ab1f09d2a8eef323ee86678624
-rw-r--r--Android.bp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index a38f4f6c..0331c957 100644
--- a/Android.bp
+++ b/Android.bp
@@ -16,10 +16,10 @@
cc_defaults {
name: "aidl_defaults",
- clang_cflags: [
+ cflags: [
"-Wall",
- "-Wextra",
"-Werror",
+ "-Wextra",
],
whole_static_libs: ["libgtest_prod"],
static_libs: [