aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-09-29 11:13:28 -0700
committerChih-Hung Hsieh <chh@google.com>2017-09-29 11:19:49 -0700
commitc4d7bdd54c0296fb658e8cac50b1b3eb4aaa83d8 (patch)
tree685cb21ae8689bc976d6d64535ff1515e9d59b52
parenta2f81e8e1f8c67a888b0e56dfc2f07e7e2030575 (diff)
downloadsonic-c4d7bdd54c0296fb658e8cac50b1b3eb4aaa83d8.tar.gz
Use -Werror in external/sonic
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I1f97c04b00c8ed8c3ea363b43bc0e5732a9ca349
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 542e254..617955b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -6,6 +6,8 @@ cc_library_shared {
cflags: [
"-Wno-sequence-point",
"-Wno-extra",
+ "-Wall",
+ "-Werror",
],
cppflags: ["-std=c++98"],