aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2017-10-27 00:13:07 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-27 00:13:07 +0000
commit0507baf9b16cd093de551fa6b61e6c52bd886af2 (patch)
tree19f89d5ad7a69095718898a2c2cf876ec72da26a
parent666817c7d15606ae004a72a04aee25d45d5da243 (diff)
parent5768aa953fd3a94d59bbb26e49945327b673c156 (diff)
downloadwebrtc-0507baf9b16cd093de551fa6b61e6c52bd886af2.tar.gz
Merge "Use -Werror in external/webrtc"
am: 5768aa953f Change-Id: Iae812431d1c34002e931e497f1b70cbf2f698ffa
-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",
],