aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-26 10:04:42 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-26 10:24:04 -0700
commit7e09d5ac4334767b3dfc08d0a29da4815f90e4c6 (patch)
tree19f89d5ad7a69095718898a2c2cf876ec72da26a
parentc333849418e52f0b07572738f0baecb81f642435 (diff)
downloadwebrtc-7e09d5ac4334767b3dfc08d0a29da4815f90e4c6.tar.gz
Use -Werror in external/webrtc
* Suppress existing missing-braces warning. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I56af504b26843d0c9e6a56699f30996d8a1b74b8
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index b519445c89..48ff6074ed 100644
--- a/Android.bp
+++ b/Android.bp
@@ -25,8 +25,11 @@ cc_defaults {
// "-DNETEQ_VOICEENGINE_CODECS", // [module audio_coding neteq]
// "-DWEBRTC_MODULE_UTILITY_VIDEO", // [module media_file] [module utility]
+ "-Wall",
+ "-Werror",
// The following warnings are disabled in most webrtc modules,
// until we upgrade to newer cleaner upstream webrtc.
+ "-Wno-missing-braces",
"-Wno-missing-field-initializers",
"-Wno-unused-parameter",
],