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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 'enable_app_list%': 1, | 158 'enable_app_list%': 1, |
159 }, { | 159 }, { |
160 'enable_app_list%': 0, | 160 'enable_app_list%': 0, |
161 }], | 161 }], |
162 | 162 |
163 ['use_aura==1 or (OS!="win" and OS!="mac" and OS!="ios" and OS!="andro
id")', { | 163 ['use_aura==1 or (OS!="win" and OS!="mac" and OS!="ios" and OS!="andro
id")', { |
164 'use_default_render_theme%': 1, | 164 'use_default_render_theme%': 1, |
165 }, { | 165 }, { |
166 'use_default_render_theme%': 0, | 166 'use_default_render_theme%': 0, |
167 }], | 167 }], |
168 | |
169 # TODO(thestig) Remove the linux_lsb_release check after all the | |
170 # official Ubuntu Lucid builder are gone. | |
171 ['OS=="linux" and branding=="Chrome" and buildtype=="Official" and chr
omeos==0', { | |
172 'linux_lsb_release%': '<!(lsb_release -r -s)', | |
173 }, { | |
174 'linux_lsb_release%': '', | |
175 }], # OS=="linux" and branding=="Chrome" and buildtype=="Official" and
chromeos==0 | |
176 ], | 168 ], |
177 }, | 169 }, |
178 | 170 |
179 # Copy conditionally-set variables out one scope. | 171 # Copy conditionally-set variables out one scope. |
180 'chromeos%': '<(chromeos)', | 172 'chromeos%': '<(chromeos)', |
181 'host_arch%': '<(host_arch)', | 173 'host_arch%': '<(host_arch)', |
182 'target_arch%': '<(target_arch)', | 174 'target_arch%': '<(target_arch)', |
183 'toolkit_views%': '<(toolkit_views)', | 175 'toolkit_views%': '<(toolkit_views)', |
184 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 176 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
185 'use_aura%': '<(use_aura)', | 177 'use_aura%': '<(use_aura)', |
186 'use_ash%': '<(use_ash)', | 178 'use_ash%': '<(use_ash)', |
187 'use_cras%': '<(use_cras)', | 179 'use_cras%': '<(use_cras)', |
188 'use_ozone%': '<(use_ozone)', | 180 'use_ozone%': '<(use_ozone)', |
189 'use_openssl%': '<(use_openssl)', | 181 'use_openssl%': '<(use_openssl)', |
190 'enable_viewport%': '<(enable_viewport)', | 182 'enable_viewport%': '<(enable_viewport)', |
191 'enable_hidpi%': '<(enable_hidpi)', | 183 'enable_hidpi%': '<(enable_hidpi)', |
192 'enable_touch_ui%': '<(enable_touch_ui)', | 184 'enable_touch_ui%': '<(enable_touch_ui)', |
193 'android_webview_build%': '<(android_webview_build)', | 185 'android_webview_build%': '<(android_webview_build)', |
194 'google_tv%': '<(google_tv)', | 186 'google_tv%': '<(google_tv)', |
195 'enable_app_list%': '<(enable_app_list)', | 187 'enable_app_list%': '<(enable_app_list)', |
196 'use_default_render_theme%': '<(use_default_render_theme)', | 188 'use_default_render_theme%': '<(use_default_render_theme)', |
197 'buildtype%': '<(buildtype)', | 189 'buildtype%': '<(buildtype)', |
198 'branding%': '<(branding)', | 190 'branding%': '<(branding)', |
199 'arm_version%': '<(arm_version)', | 191 'arm_version%': '<(arm_version)', |
200 'linux_lsb_release%': '<(linux_lsb_release)', | |
201 | 192 |
202 # Set to 1 to enable fast builds. Set to 2 for even faster builds | 193 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
203 # (it disables debug info for fastest compilation - only for use | 194 # (it disables debug info for fastest compilation - only for use |
204 # on compile-only bots). | 195 # on compile-only bots). |
205 'fastbuild%': 0, | 196 'fastbuild%': 0, |
206 | 197 |
207 # Set to 1 to enable dcheck in release without having to use the flag. | 198 # Set to 1 to enable dcheck in release without having to use the flag. |
208 'dcheck_always_on%': 0, | 199 'dcheck_always_on%': 0, |
209 | 200 |
210 # Set to 1 to make a build that logs like an official build, but is not | 201 # Set to 1 to make a build that logs like an official build, but is not |
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 }], | 656 }], |
666 | 657 |
667 ['OS=="linux" and target_arch=="arm" and chromeos==0', { | 658 ['OS=="linux" and target_arch=="arm" and chromeos==0', { |
668 # Set some defaults for arm/linux chrome builds | 659 # Set some defaults for arm/linux chrome builds |
669 'linux_use_tcmalloc%': 0, | 660 'linux_use_tcmalloc%': 0, |
670 # sysroot needs to be an absolute path otherwise it generates | 661 # sysroot needs to be an absolute path otherwise it generates |
671 # incorrect results when passed to pkg-config | 662 # incorrect results when passed to pkg-config |
672 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', | 663 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', |
673 }], # OS=="linux" and target_arch=="arm" and chromeos==0 | 664 }], # OS=="linux" and target_arch=="arm" and chromeos==0 |
674 | 665 |
675 ['linux_lsb_release=="12.04"', { | 666 |
| 667 ['OS=="linux" and branding=="Chrome" and buildtype=="Official" and chrom
eos==0', { |
676 'conditions': [ | 668 'conditions': [ |
677 ['target_arch=="x64"', { | 669 ['target_arch=="x64"', { |
678 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debi
an_wheezy_amd64-sysroot', | 670 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debi
an_wheezy_amd64-sysroot', |
679 }], | 671 }], |
680 ['target_arch=="ia32"', { | 672 ['target_arch=="ia32"', { |
681 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debi
an_wheezy_i386-sysroot', | 673 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debi
an_wheezy_i386-sysroot', |
682 }], | 674 }], |
683 ], | 675 ], |
684 }], # linux_lsb_release=="12.04" | 676 }], # OS=="linux" and branding=="Chrome" and buildtype=="Official" and c
hromeos==0 |
685 | 677 |
686 ['OS=="linux" and target_arch=="mipsel"', { | 678 ['OS=="linux" and target_arch=="mipsel"', { |
687 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot', | 679 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot', |
688 'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu
-gcc', | 680 'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu
-gcc', |
689 }], | 681 }], |
690 | 682 |
691 # Whether tests targets should be run, archived or just have the | 683 # Whether tests targets should be run, archived or just have the |
692 # dependencies verified. All the tests targets have the '_run' suffix, | 684 # dependencies verified. All the tests targets have the '_run' suffix, |
693 # e.g. base_unittests_run runs the target base_unittests. The test | 685 # e.g. base_unittests_run runs the target base_unittests. The test |
694 # target always calls tools/swarm_client/isolate.py. See the script's | 686 # target always calls tools/swarm_client/isolate.py. See the script's |
(...skipping 4029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4724 # settings in target dicts. SYMROOT is a special case, because many other | 4716 # settings in target dicts. SYMROOT is a special case, because many other |
4725 # Xcode variables depend on it, including variables such as | 4717 # Xcode variables depend on it, including variables such as |
4726 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4718 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4727 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4719 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4728 # files to appear (when present) in the UI as actual files and not red | 4720 # files to appear (when present) in the UI as actual files and not red |
4729 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4721 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4730 # and therefore SYMROOT, needs to be set at the project level. | 4722 # and therefore SYMROOT, needs to be set at the project level. |
4731 'SYMROOT': '<(DEPTH)/xcodebuild', | 4723 'SYMROOT': '<(DEPTH)/xcodebuild', |
4732 }, | 4724 }, |
4733 } | 4725 } |
OLD | NEW |