aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2017-10-26 20:28:59 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-10-26 20:28:59 +0000
commit5768aa953fd3a94d59bbb26e49945327b673c156 (patch)
tree19f89d5ad7a69095718898a2c2cf876ec72da26a
parentc333849418e52f0b07572738f0baecb81f642435 (diff)
parent7e09d5ac4334767b3dfc08d0a29da4815f90e4c6 (diff)
downloadwebrtc-5768aa953fd3a94d59bbb26e49945327b673c156.tar.gz
Merge "Use -Werror in external/webrtc"android-o-mr1-iot-preview-6o-mr1-iot-preview-6
-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",
],