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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 'linux_use_bundled_gold%': 1, | 731 'linux_use_bundled_gold%': 1, |
732 }, { | 732 }, { |
733 'linux_use_bundled_gold%': 0, | 733 'linux_use_bundled_gold%': 0, |
734 }], | 734 }], |
735 | 735 |
736 # linux_use_bundled_binutils: whether to use the binary binutils | 736 # linux_use_bundled_binutils: whether to use the binary binutils |
737 # checked into third_party/binutils. These are not multi-arch so cannot | 737 # checked into third_party/binutils. These are not multi-arch so cannot |
738 # be used except on x86 and x86-64 (the only two architectures which | 738 # be used except on x86 and x86-64 (the only two architectures which |
739 # are currently checke in). Force this off via GYP_DEFINES when you | 739 # are currently checke in). Force this off via GYP_DEFINES when you |
740 # are using a custom toolchain and need to control -B in cflags. | 740 # are using a custom toolchain and need to control -B in cflags. |
| 741 # Set to 1 when using icecc to avoid incompatible build flags. |
| 742 # https://github.com/icecc/icecream/commit/b2ce5b9cc4bd1900f55c3684214e4
09fa81e7a92 |
741 ['OS=="linux" and (target_arch=="x64")', { | 743 ['OS=="linux" and (target_arch=="x64")', { |
742 'linux_use_bundled_binutils%': 1, | 744 'linux_use_bundled_binutils%': 1, |
743 }, { | 745 }, { |
744 'linux_use_bundled_binutils%': 0, | 746 'linux_use_bundled_binutils%': 0, |
745 }], | 747 }], |
746 | 748 |
747 # linux_use_gold_flags: whether to use build flags that rely on gold. | 749 # linux_use_gold_flags: whether to use build flags that rely on gold. |
748 # On by default for x64 Linux. Temporarily off for ChromeOS as | 750 # On by default for x64 Linux. Temporarily off for ChromeOS as |
749 # it failed on a buildbot. | 751 # it failed on a buildbot. |
750 ['OS=="linux" and target_arch=="x64" and chromeos==0', { | 752 ['OS=="linux" and target_arch=="x64" and chromeos==0', { |
(...skipping 4478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5229 # settings in target dicts. SYMROOT is a special case, because many other | 5231 # settings in target dicts. SYMROOT is a special case, because many other |
5230 # Xcode variables depend on it, including variables such as | 5232 # Xcode variables depend on it, including variables such as |
5231 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5233 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5232 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5234 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5233 # files to appear (when present) in the UI as actual files and not red | 5235 # files to appear (when present) in the UI as actual files and not red |
5234 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5236 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5235 # and therefore SYMROOT, needs to be set at the project level. | 5237 # and therefore SYMROOT, needs to be set at the project level. |
5236 'SYMROOT': '<(DEPTH)/xcodebuild', | 5238 'SYMROOT': '<(DEPTH)/xcodebuild', |
5237 }, | 5239 }, |
5238 } | 5240 } |
OLD | NEW |