| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 # This file is included to modify the configurations to build third-party | 5 # This file is included to modify the configurations to build third-party |
| 6 # code from Mozilla's NSS and NSPR libraries, modified by the Chromium project. | 6 # code from Mozilla's NSS and NSPR libraries, modified by the Chromium project. |
| 7 # This code is C code, not C++, and is not warning-free, so we need to remove | 7 # This code is C code, not C++, and is not warning-free, so we need to remove |
| 8 # C++-specific flags, and add flags to supress the warnings in the code. | 8 # C++-specific flags, and add flags to supress the warnings in the code. |
| 9 # This file is included from gyp files in the runtime/bin/net directory. | 9 # This file is included from gyp files in the runtime/bin/net directory. |
| 10 { | 10 { |
| 11 'variables': { | 11 'variables': { |
| 12 # Used by third_party/nss, which is from Chromium. | 12 # Used by third_party/nss, which is from Chromium. |
| 13 # When the NSS and related libraries gyp files are processed in | 13 # Include the built-in set of root certificate authorities. |
| 14 # Dartium, do not override the settings from Dartium. The targets will | 14 'exclude_nss_root_certs': 0, |
| 15 # not be built. | |
| 16 'os_posix%': 1, | 15 'os_posix%': 1, |
| 17 'os_bsd%': 0, | 16 'os_bsd%': 0, |
| 18 'chromeos%': 0, | 17 'chromeos%': 0, |
| 19 'clang%': 0, | 18 'clang%': 0, |
| 20 }, | 19 }, |
| 21 'target_defaults': { | 20 'target_defaults': { |
| 22 'cflags': [ | 21 'cflags': [ |
| 23 '-Wno-unused-variable', | 22 '-Wno-unused-variable', |
| 24 '-Wno-unused-but-set-variable', | 23 '-Wno-unused-but-set-variable', |
| 25 '-Wno-missing-field-initializers', | 24 '-Wno-missing-field-initializers', |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 'Dart_Release': { | 65 'Dart_Release': { |
| 67 'xcode_settings': { | 66 'xcode_settings': { |
| 68 # Remove 'ansi' setting. | 67 # Remove 'ansi' setting. |
| 69 'GCC_C_LANGUAGE_STANDARD': 'c99', | 68 'GCC_C_LANGUAGE_STANDARD': 'c99', |
| 70 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror off | 69 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror off |
| 71 }, | 70 }, |
| 72 }, | 71 }, |
| 73 }, | 72 }, |
| 74 }, | 73 }, |
| 75 } | 74 } |
| OLD | NEW |