mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 02:09:28 +00:00
Bug 1313280 - Suppress warnings from third-party sources. r=glandium
MozReview-Commit-ID: 4R6mPbWIrAm MozReview-Commit-ID: D15liHKGXHv MozReview-Commit-ID: KQj3wDLxRZI --HG-- extra : rebase_source : 4743f1ed016dd8ce488f3cda1ea97ebba072c266 extra : source : 84f6d4e2d33bdf2d9f88d280894a7a5364cf451d
This commit is contained in:
parent
4552a40d0a
commit
293cc1082e
@ -48,3 +48,10 @@ FINAL_LIBRARY = 'xul'
|
||||
|
||||
if CONFIG['GNU_CXX']:
|
||||
CXXFLAGS += ['-Wno-error=shadow']
|
||||
|
||||
if CONFIG['_MSC_VER']:
|
||||
# Avoid warnings from third-party code that we can not modify.
|
||||
if CONFIG['CLANG_CL']:
|
||||
CXXFLAGS += ['-Wno-invalid-source-encoding']
|
||||
else:
|
||||
CXXFLAGS += ['-validate-charset-']
|
||||
|
@ -94,6 +94,13 @@ if CONFIG['MOZ_WEBRTC_SIGNALING']:
|
||||
GYP_DIRS['signaling'].sandbox_vars['ALLOW_COMPILER_WARNINGS'] = True
|
||||
GYP_DIRS['signaling'].non_unified_sources += signaling_non_unified_sources
|
||||
|
||||
if CONFIG['_MSC_VER']:
|
||||
# Avoid warnings from third-party code that we can not modify.
|
||||
if CONFIG['CLANG_CL']:
|
||||
CXXFLAGS += ['-Wno-invalid-source-encoding']
|
||||
else:
|
||||
CXXFLAGS += ['-validate-charset-']
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
|
||||
GYP_DIRS += ['trunk/testing']
|
||||
GYP_DIRS['trunk/testing'].input = 'trunk/testing/gtest.gyp'
|
||||
|
Loading…
x
Reference in New Issue
Block a user