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 2813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2824 ], | 2824 ], |
2825 }], | 2825 }], |
2826 ['sysroot!=""', { | 2826 ['sysroot!=""', { |
2827 'target_conditions': [ | 2827 'target_conditions': [ |
2828 ['_toolset=="target"', { | 2828 ['_toolset=="target"', { |
2829 'cflags': [ | 2829 'cflags': [ |
2830 '--sysroot=<(sysroot)', | 2830 '--sysroot=<(sysroot)', |
2831 ], | 2831 ], |
2832 'ldflags': [ | 2832 'ldflags': [ |
2833 '--sysroot=<(sysroot)', | 2833 '--sysroot=<(sysroot)', |
| 2834 '<!(<(DEPTH)/build/linux/sysroot_ld_path.sh <(sysroot))', |
2834 ], | 2835 ], |
2835 }]] | 2836 }]] |
2836 }], | 2837 }], |
2837 ['clang==1', { | 2838 ['clang==1', { |
2838 'cflags': [ | 2839 'cflags': [ |
2839 '-Wheader-hygiene', | 2840 '-Wheader-hygiene', |
2840 # Clang spots more unused functions. | 2841 # Clang spots more unused functions. |
2841 '-Wno-unused-function', | 2842 '-Wno-unused-function', |
2842 # Don't die on dtoa code that uses a char as an array index. | 2843 # Don't die on dtoa code that uses a char as an array index. |
2843 '-Wno-char-subscripts', | 2844 '-Wno-char-subscripts', |
(...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4158 # settings in target dicts. SYMROOT is a special case, because many other | 4159 # settings in target dicts. SYMROOT is a special case, because many other |
4159 # Xcode variables depend on it, including variables such as | 4160 # Xcode variables depend on it, including variables such as |
4160 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4161 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4161 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4162 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4162 # files to appear (when present) in the UI as actual files and not red | 4163 # files to appear (when present) in the UI as actual files and not red |
4163 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4164 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4164 # and therefore SYMROOT, needs to be set at the project level. | 4165 # and therefore SYMROOT, needs to be set at the project level. |
4165 'SYMROOT': '<(DEPTH)/xcodebuild', | 4166 'SYMROOT': '<(DEPTH)/xcodebuild', |
4166 }, | 4167 }, |
4167 } | 4168 } |
OLD | NEW |