| 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 2823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2834 ], | 2834 ], |
| 2835 }], | 2835 }], |
| 2836 ['sysroot!=""', { | 2836 ['sysroot!=""', { |
| 2837 'target_conditions': [ | 2837 'target_conditions': [ |
| 2838 ['_toolset=="target"', { | 2838 ['_toolset=="target"', { |
| 2839 'cflags': [ | 2839 'cflags': [ |
| 2840 '--sysroot=<(sysroot)', | 2840 '--sysroot=<(sysroot)', |
| 2841 ], | 2841 ], |
| 2842 'ldflags': [ | 2842 'ldflags': [ |
| 2843 '--sysroot=<(sysroot)', | 2843 '--sysroot=<(sysroot)', |
| 2844 '<!(<(DEPTH)/build/linux/sysroot_ld_path.sh <(sysroot))', |
| 2844 ], | 2845 ], |
| 2845 }]] | 2846 }]] |
| 2846 }], | 2847 }], |
| 2847 ['clang==1', { | 2848 ['clang==1', { |
| 2848 'cflags': [ | 2849 'cflags': [ |
| 2849 '-Wheader-hygiene', | 2850 '-Wheader-hygiene', |
| 2850 # Clang spots more unused functions. | 2851 # Clang spots more unused functions. |
| 2851 '-Wno-unused-function', | 2852 '-Wno-unused-function', |
| 2852 # Don't die on dtoa code that uses a char as an array index. | 2853 # Don't die on dtoa code that uses a char as an array index. |
| 2853 '-Wno-char-subscripts', | 2854 '-Wno-char-subscripts', |
| (...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4168 # settings in target dicts. SYMROOT is a special case, because many other | 4169 # settings in target dicts. SYMROOT is a special case, because many other |
| 4169 # Xcode variables depend on it, including variables such as | 4170 # Xcode variables depend on it, including variables such as |
| 4170 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4171 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4171 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4172 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4172 # files to appear (when present) in the UI as actual files and not red | 4173 # files to appear (when present) in the UI as actual files and not red |
| 4173 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4174 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4174 # and therefore SYMROOT, needs to be set at the project level. | 4175 # and therefore SYMROOT, needs to be set at the project level. |
| 4175 'SYMROOT': '<(DEPTH)/xcodebuild', | 4176 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4176 }, | 4177 }, |
| 4177 } | 4178 } |
| OLD | NEW |