Use -Werror in external/webrtc
* Suppress existing missing-braces warning. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I56af504b26843d0c9e6a56699f30996d8a1b74b8
This commit is contained in:
@ -25,8 +25,11 @@ cc_defaults {
|
|||||||
// "-DNETEQ_VOICEENGINE_CODECS", // [module audio_coding neteq]
|
// "-DNETEQ_VOICEENGINE_CODECS", // [module audio_coding neteq]
|
||||||
// "-DWEBRTC_MODULE_UTILITY_VIDEO", // [module media_file] [module utility]
|
// "-DWEBRTC_MODULE_UTILITY_VIDEO", // [module media_file] [module utility]
|
||||||
|
|
||||||
|
"-Wall",
|
||||||
|
"-Werror",
|
||||||
// The following warnings are disabled in most webrtc modules,
|
// The following warnings are disabled in most webrtc modules,
|
||||||
// until we upgrade to newer cleaner upstream webrtc.
|
// until we upgrade to newer cleaner upstream webrtc.
|
||||||
|
"-Wno-missing-braces",
|
||||||
"-Wno-missing-field-initializers",
|
"-Wno-missing-field-initializers",
|
||||||
"-Wno-unused-parameter",
|
"-Wno-unused-parameter",
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user