OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 3205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3216 ], | 3216 ], |
3217 }]] | 3217 }]] |
3218 }], | 3218 }], |
3219 ['clang==1', { | 3219 ['clang==1', { |
3220 'cflags': [ | 3220 'cflags': [ |
3221 '-Wheader-hygiene', | 3221 '-Wheader-hygiene', |
3222 | 3222 |
3223 # Don't die on dtoa code that uses a char as an array index. | 3223 # Don't die on dtoa code that uses a char as an array index. |
3224 '-Wno-char-subscripts', | 3224 '-Wno-char-subscripts', |
3225 | 3225 |
3226 # Clang spots more unused functions. TODO remove, crbug.com/315884 | 3226 # TODO(thakis): This used to be implied by -Wno-unused-function, |
3227 '-Wno-unused-function', | 3227 # which we no longer use. Check if it makes sense to remove |
| 3228 # this as well. http://crbug.com/316352 |
| 3229 '-Wno-unneeded-internal-declaration', |
3228 | 3230 |
3229 # Warns on switches on enums that cover all enum values but | 3231 # Warns on switches on enums that cover all enum values but |
3230 # also contain a default: branch. Chrome is full of that. | 3232 # also contain a default: branch. Chrome is full of that. |
3231 '-Wno-covered-switch-default', | 3233 '-Wno-covered-switch-default', |
3232 | 3234 |
3233 # Warns when a const char[] is converted to bool. | 3235 # Warns when a const char[] is converted to bool. |
3234 '-Wstring-conversion', | 3236 '-Wstring-conversion', |
3235 | 3237 |
3236 # C++11-related flags: | 3238 # C++11-related flags: |
3237 | 3239 |
(...skipping 1462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4700 # settings in target dicts. SYMROOT is a special case, because many other | 4702 # settings in target dicts. SYMROOT is a special case, because many other |
4701 # Xcode variables depend on it, including variables such as | 4703 # Xcode variables depend on it, including variables such as |
4702 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4704 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4703 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4705 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4704 # files to appear (when present) in the UI as actual files and not red | 4706 # files to appear (when present) in the UI as actual files and not red |
4705 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4707 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4706 # and therefore SYMROOT, needs to be set at the project level. | 4708 # and therefore SYMROOT, needs to be set at the project level. |
4707 'SYMROOT': '<(DEPTH)/xcodebuild', | 4709 'SYMROOT': '<(DEPTH)/xcodebuild', |
4708 }, | 4710 }, |
4709 } | 4711 } |
OLD | NEW |