| 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 4198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4209 # Warn if automatic synthesis is triggered with | 4209 # Warn if automatic synthesis is triggered with |
| 4210 # the -Wobjc-missing-property-synthesis flag. | 4210 # the -Wobjc-missing-property-synthesis flag. |
| 4211 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', | 4211 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', |
| 4212 'WARNING_CFLAGS': [ | 4212 'WARNING_CFLAGS': [ |
| 4213 '-Wheader-hygiene', | 4213 '-Wheader-hygiene', |
| 4214 # Don't die on dtoa code that uses a char as an array index. | 4214 # Don't die on dtoa code that uses a char as an array index. |
| 4215 # This is required solely for base/third_party/dmg_fp/dtoa.cc. | 4215 # This is required solely for base/third_party/dmg_fp/dtoa.cc. |
| 4216 '-Wno-char-subscripts', | 4216 '-Wno-char-subscripts', |
| 4217 # Clang spots more unused functions. | 4217 # Clang spots more unused functions. |
| 4218 '-Wno-unused-function', | 4218 '-Wno-unused-function', |
| 4219 # See comments on this flag higher up in this file. | |
| 4220 '-Wno-unnamed-type-template-args', | |
| 4221 # Match OS X clang C++11 warning settings. | 4219 # Match OS X clang C++11 warning settings. |
| 4222 '-Wno-c++11-narrowing', | 4220 '-Wno-c++11-narrowing', |
| 4223 ], | 4221 ], |
| 4224 }, | 4222 }, |
| 4225 'target_conditions': [ | 4223 'target_conditions': [ |
| 4226 ['_toolset=="host"', { | 4224 ['_toolset=="host"', { |
| 4227 'xcode_settings': { | 4225 'xcode_settings': { |
| 4228 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot | 4226 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot |
| 4229 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', | 4227 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', |
| 4230 'ARCHS': [ | 4228 'ARCHS': [ |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4687 # settings in target dicts. SYMROOT is a special case, because many other | 4685 # settings in target dicts. SYMROOT is a special case, because many other |
| 4688 # Xcode variables depend on it, including variables such as | 4686 # Xcode variables depend on it, including variables such as |
| 4689 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4687 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4690 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4688 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4691 # files to appear (when present) in the UI as actual files and not red | 4689 # files to appear (when present) in the UI as actual files and not red |
| 4692 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4690 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4693 # and therefore SYMROOT, needs to be set at the project level. | 4691 # and therefore SYMROOT, needs to be set at the project level. |
| 4694 'SYMROOT': '<(DEPTH)/xcodebuild', | 4692 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4695 }, | 4693 }, |
| 4696 } | 4694 } |
| OLD | NEW |