Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 2 # for details. All rights reserved. Use of this source code is governed by a | |
| 3 # BSD-style license that can be found in the LICENSE file. | |
| 4 | |
|
Mads Ager (google)
2012/10/31 09:01:01
Could we call this file nss_configurations.gypi to
| |
| 5 { | |
| 6 'variables': { | |
| 7 # Used by third_party/nss, which is from Chromium. | |
| 8 'os_posix': 1, | |
| 9 'os_bsd': 0, | |
| 10 'chromeos': 0, | |
| 11 'clang': 0, | |
| 12 }, | |
| 13 'target_defaults': { | |
| 14 'cflags': [ | |
| 15 '-Wno-unused-variable', | |
| 16 '-Wno-unused-but-set-variable', | |
| 17 '-Wno-missing-field-initializers', | |
| 18 '-Wno-uninitialized', | |
| 19 '-Wno-sign-compare', | |
| 20 '-Wno-empty-body', | |
| 21 '-Wno-type-limits', | |
| 22 '-Wno-pointer-to-int-cast', | |
| 23 '-UHAVE_CVAR_BUILT_ON_SEM', | |
| 24 ], | |
| 25 'cflags!': [ | |
|
Mads Ager (google)
2012/10/31 09:01:01
I would like some more comments here. There is one
| |
| 26 '-Werror', | |
| 27 '-Wall', | |
| 28 '-Wvla', | |
| 29 '-Woverloaded-virtual', | |
| 30 '-ansi', | |
| 31 '-fno-exceptions', | |
| 32 '-fvisibility=hidden', | |
| 33 # Not supported for C, only for C++. | |
| 34 '-Wnon-virtual-dtor', | |
| 35 '-Wno-conversion-null', | |
| 36 '-fno-rtti', | |
| 37 '-fvisibility-inlines-hidden', | |
| 38 ], | |
| 39 'configurations': { | |
| 40 'Dart_Base': { | |
| 41 'xcode_settings': { | |
| 42 # Remove 'ansi' setting. | |
| 43 'GCC_C_LANGUAGE_STANDARD': '', | |
| 44 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror off | |
| 45 }, | |
| 46 }, | |
| 47 }, | |
| 48 }, | |
| 49 } | |
| OLD | NEW |