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