diff --git a/src/build/common.gypi b/src/build/common.gypi index 13695054b2..2ead98cbee 100644 --- a/src/build/common.gypi +++ b/src/build/common.gypi @@ -183,6 +183,17 @@ 'WEBRTC_ANDROID_OPENSLES', ], }], + ['clang==1', { + 'xcode_settings': { + 'WARNING_CFLAGS': [ + # TODO(thakis): Remove once all violations are fixed. + '-Wno-unused-private-field', + ], + }, + 'cflags': [ + '-Wno-unused-private-field', + ] + }], ], # conditions }, # target_defaults }