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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 # Override buildtype to select the desired build flavor. | 54 # Override buildtype to select the desired build flavor. |
55 # Dev - everyday build for development/testing | 55 # Dev - everyday build for development/testing |
56 # Official - release build (generally implies additional processing) | 56 # Official - release build (generally implies additional processing) |
57 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp | 57 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp |
58 # conversion is done), some of the things which are now controlled by | 58 # conversion is done), some of the things which are now controlled by |
59 # 'branding', such as symbol generation, will need to be refactored | 59 # 'branding', such as symbol generation, will need to be refactored |
60 # based on 'buildtype' (i.e. we don't care about saving symbols for | 60 # based on 'buildtype' (i.e. we don't care about saving symbols for |
61 # non-Official # builds). | 61 # non-Official # builds). |
62 'buildtype%': 'Dev', | 62 'buildtype%': 'Dev', |
63 | 63 |
64 # Override branding to select the desired branding flavor. | |
65 'branding%': 'Chromium', | |
66 | |
67 'conditions': [ | 64 'conditions': [ |
68 # ChromeOS implies ash. | 65 # ChromeOS implies ash. |
69 ['chromeos==1', { | 66 ['chromeos==1', { |
70 'use_ash%': 1, | 67 'use_ash%': 1, |
71 'use_aura%': 1, | 68 'use_aura%': 1, |
72 }], | 69 }], |
73 | 70 |
74 # For now, Windows builds that |use_aura| should also imply using | 71 # For now, Windows builds that |use_aura| should also imply using |
75 # ash. This rule should be removed for the future when Windows is | 72 # ash. This rule should be removed for the future when Windows is |
76 # using the aura windows without the ash interface. | 73 # using the aura windows without the ash interface. |
(...skipping 20 matching lines...) Expand all Loading... |
97 # Copy conditionally-set variables out one scope. | 94 # Copy conditionally-set variables out one scope. |
98 'chromeos%': '<(chromeos)', | 95 'chromeos%': '<(chromeos)', |
99 'use_aura%': '<(use_aura)', | 96 'use_aura%': '<(use_aura)', |
100 'use_ash%': '<(use_ash)', | 97 'use_ash%': '<(use_ash)', |
101 'use_ozone%': '<(use_ozone)', | 98 'use_ozone%': '<(use_ozone)', |
102 'use_openssl%': '<(use_openssl)', | 99 'use_openssl%': '<(use_openssl)', |
103 'enable_viewport%': '<(enable_viewport)', | 100 'enable_viewport%': '<(enable_viewport)', |
104 'enable_hidpi%': '<(enable_hidpi)', | 101 'enable_hidpi%': '<(enable_hidpi)', |
105 'enable_touch_ui%': '<(enable_touch_ui)', | 102 'enable_touch_ui%': '<(enable_touch_ui)', |
106 'buildtype%': '<(buildtype)', | 103 'buildtype%': '<(buildtype)', |
107 'branding%': '<(branding)', | |
108 'host_arch%': '<(host_arch)', | 104 'host_arch%': '<(host_arch)', |
109 | 105 |
110 # Default architecture we're building for is the architecture we're | 106 # Default architecture we're building for is the architecture we're |
111 # building on. | 107 # building on. |
112 'target_arch%': '<(host_arch)', | 108 'target_arch%': '<(host_arch)', |
113 | 109 |
114 # This is set when building the Android WebView inside the Android | 110 # This is set when building the Android WebView inside the Android |
115 # build system, using the 'android' gyp backend. The WebView code is | 111 # build system, using the 'android' gyp backend. The WebView code is |
116 # still built when this is unset, but builds using the normal chromium | 112 # still built when this is unset, but builds using the normal chromium |
117 # build system. | 113 # build system. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 'enable_message_center%': 1, | 161 'enable_message_center%': 1, |
166 }, { | 162 }, { |
167 'enable_message_center%': 0, | 163 'enable_message_center%': 0, |
168 }], | 164 }], |
169 | 165 |
170 ['use_aura==1 or (OS!="win" and OS!="mac" and OS!="ios" and OS!="andro
id")', { | 166 ['use_aura==1 or (OS!="win" and OS!="mac" and OS!="ios" and OS!="andro
id")', { |
171 'use_default_render_theme%': 1, | 167 'use_default_render_theme%': 1, |
172 }, { | 168 }, { |
173 'use_default_render_theme%': 0, | 169 'use_default_render_theme%': 0, |
174 }], | 170 }], |
175 | |
176 # TODO(thestig) Remove the linux_lsb_release check after all the | |
177 # official Ubuntu Lucid builder are gone. | |
178 ['OS=="linux" and branding=="Chrome" and buildtype=="Official" and chr
omeos==0', { | |
179 'linux_lsb_release%': '<!(lsb_release -r -s)', | |
180 }, { | |
181 'linux_lsb_release%': '', | |
182 }], # OS=="linux" and branding=="Chrome" and buildtype=="Official" and
chromeos==0 | |
183 ], | 171 ], |
184 }, | 172 }, |
185 | 173 |
186 # Copy conditionally-set variables out one scope. | 174 # Copy conditionally-set variables out one scope. |
187 'chromeos%': '<(chromeos)', | 175 'chromeos%': '<(chromeos)', |
188 'host_arch%': '<(host_arch)', | 176 'host_arch%': '<(host_arch)', |
189 'target_arch%': '<(target_arch)', | 177 'target_arch%': '<(target_arch)', |
190 'toolkit_views%': '<(toolkit_views)', | 178 'toolkit_views%': '<(toolkit_views)', |
191 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 179 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
192 'use_aura%': '<(use_aura)', | 180 'use_aura%': '<(use_aura)', |
193 'use_ash%': '<(use_ash)', | 181 'use_ash%': '<(use_ash)', |
194 'use_ozone%': '<(use_ozone)', | 182 'use_ozone%': '<(use_ozone)', |
195 'use_openssl%': '<(use_openssl)', | 183 'use_openssl%': '<(use_openssl)', |
196 'enable_viewport%': '<(enable_viewport)', | 184 'enable_viewport%': '<(enable_viewport)', |
197 'enable_hidpi%': '<(enable_hidpi)', | 185 'enable_hidpi%': '<(enable_hidpi)', |
198 'enable_touch_ui%': '<(enable_touch_ui)', | 186 'enable_touch_ui%': '<(enable_touch_ui)', |
199 'android_webview_build%': '<(android_webview_build)', | 187 'android_webview_build%': '<(android_webview_build)', |
200 'google_tv%': '<(google_tv)', | 188 'google_tv%': '<(google_tv)', |
201 'inside_chromium_build%': '<(inside_chromium_build)', | 189 'inside_chromium_build%': '<(inside_chromium_build)', |
202 'enable_app_list%': '<(enable_app_list)', | 190 'enable_app_list%': '<(enable_app_list)', |
203 'enable_message_center%': '<(enable_message_center)', | 191 'enable_message_center%': '<(enable_message_center)', |
204 'use_default_render_theme%': '<(use_default_render_theme)', | 192 'use_default_render_theme%': '<(use_default_render_theme)', |
205 'buildtype%': '<(buildtype)', | 193 'buildtype%': '<(buildtype)', |
206 'branding%': '<(branding)', | |
207 'arm_version%': '<(arm_version)', | 194 'arm_version%': '<(arm_version)', |
208 'linux_lsb_release%': '<(linux_lsb_release)', | 195 |
| 196 # Override branding to select the desired branding flavor. |
| 197 'branding%': 'Chromium', |
209 | 198 |
210 # Set to 1 to enable fast builds. Set to 2 for even faster builds | 199 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
211 # (it disables debug info for fastest compilation - only for use | 200 # (it disables debug info for fastest compilation - only for use |
212 # on compile-only bots). | 201 # on compile-only bots). |
213 'fastbuild%': 0, | 202 'fastbuild%': 0, |
214 | 203 |
215 # Set to 1 to enable dcheck in release without having to use the flag. | 204 # Set to 1 to enable dcheck in release without having to use the flag. |
216 'dcheck_always_on%': 0, | 205 'dcheck_always_on%': 0, |
217 | 206 |
218 # Disable file manager component extension by default. | 207 # Disable file manager component extension by default. |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
633 | 622 |
634 ['OS=="linux" and target_arch=="arm" and chromeos==0', { | 623 ['OS=="linux" and target_arch=="arm" and chromeos==0', { |
635 # Set some defaults for arm/linux chrome builds | 624 # Set some defaults for arm/linux chrome builds |
636 'linux_breakpad%': 0, | 625 'linux_breakpad%': 0, |
637 'linux_use_tcmalloc%': 0, | 626 'linux_use_tcmalloc%': 0, |
638 # sysroot needs to be an absolute path otherwise it generates | 627 # sysroot needs to be an absolute path otherwise it generates |
639 # incorrect results when passed to pkg-config | 628 # incorrect results when passed to pkg-config |
640 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', | 629 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', |
641 }], # OS=="linux" and target_arch=="arm" and chromeos==0 | 630 }], # OS=="linux" and target_arch=="arm" and chromeos==0 |
642 | 631 |
643 ['linux_lsb_release=="12.04"', { | |
644 'conditions': [ | |
645 ['target_arch=="x64"', { | |
646 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/inte
rnal/debian_wheezy_amd64-sysroot', | |
647 }], | |
648 ['target_arch=="ia32"', { | |
649 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/inte
rnal/debian_wheezy32-sysroot', | |
650 }], | |
651 ], | |
652 }], # linux_lsb_release=="12.04" | |
653 | |
654 ['target_arch=="mipsel"', { | 632 ['target_arch=="mipsel"', { |
655 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot', | 633 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot', |
656 'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu
-gcc', | 634 'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu
-gcc', |
657 }], | 635 }], |
658 | 636 |
659 # Whether tests targets should be run, archived or just have the | 637 # Whether tests targets should be run, archived or just have the |
660 # dependencies verified. All the tests targets have the '_run' suffix, | 638 # dependencies verified. All the tests targets have the '_run' suffix, |
661 # e.g. base_unittests_run runs the target base_unittests. The test | 639 # e.g. base_unittests_run runs the target base_unittests. The test |
662 # target always calls tools/swarm_client/isolate.py. See the script's | 640 # target always calls tools/swarm_client/isolate.py. See the script's |
663 # --help for more information and the valid --mode values. Meant to be | 641 # --help for more information and the valid --mode values. Meant to be |
(...skipping 3797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4461 # settings in target dicts. SYMROOT is a special case, because many other | 4439 # settings in target dicts. SYMROOT is a special case, because many other |
4462 # Xcode variables depend on it, including variables such as | 4440 # Xcode variables depend on it, including variables such as |
4463 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4441 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4464 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4442 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4465 # files to appear (when present) in the UI as actual files and not red | 4443 # files to appear (when present) in the UI as actual files and not red |
4466 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4444 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4467 # and therefore SYMROOT, needs to be set at the project level. | 4445 # and therefore SYMROOT, needs to be set at the project level. |
4468 'SYMROOT': '<(DEPTH)/xcodebuild', | 4446 'SYMROOT': '<(DEPTH)/xcodebuild', |
4469 }, | 4447 }, |
4470 } | 4448 } |
OLD | NEW |