Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: runtime/tools/gyp/nss_configurations.gypi

Issue 23440018: Disable all warnings when compiling NSS. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add XCode fix Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tools/gyp/nss_configurations.gypi
diff --git a/runtime/tools/gyp/nss_configurations.gypi b/runtime/tools/gyp/nss_configurations.gypi
index ac3e6120000b9f7f9cd069167a6fa71e574e936e..e3776e036b0d2e24b76d8f60ca4d67e8b1e2c86d 100644
--- a/runtime/tools/gyp/nss_configurations.gypi
+++ b/runtime/tools/gyp/nss_configurations.gypi
@@ -19,14 +19,7 @@
},
'target_defaults': {
'cflags': [
- '-Wno-unused-variable',
- '-Wno-unused-but-set-variable',
- '-Wno-missing-field-initializers',
- '-Wno-uninitialized',
- '-Wno-sign-compare',
- '-Wno-empty-body',
- '-Wno-type-limits',
- '-Wno-pointer-to-int-cast',
+ '-w',
'-UHAVE_CVAR_BUILT_ON_SEM',
],
# Removes these flags from the list cflags.
@@ -46,6 +39,9 @@
'configurations': {
'Dart_Base': {
'xcode_settings': {
+ 'WARNING_CFLAGS': [
+ '-w',
+ ],
'WARNING_CFLAGS!': [
'-Wall',
'-Wextra',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698