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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 'target_arch%': '<(host_arch)', | 103 'target_arch%': '<(host_arch)', |
104 | 104 |
105 # Sets whether we're building with the Android SDK/NDK (and hence with | 105 # Sets whether we're building with the Android SDK/NDK (and hence with |
106 # Ant, value 0), or as part of the Android system (and hence with the | 106 # Ant, value 0), or as part of the Android system (and hence with the |
107 # Android build system, value 1). | 107 # Android build system, value 1). |
108 'android_build_type%': 0, | 108 'android_build_type%': 0, |
109 | 109 |
110 # Sets whether chrome is built for google tv device. | 110 # Sets whether chrome is built for google tv device. |
111 'google_tv%': 0, | 111 'google_tv%': 0, |
112 | 112 |
| 113 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they |
| 114 # are built under a chromium full build (1) or a webkit.org chromium |
| 115 # build (0). |
| 116 'inside_chromium_build%': 1, |
| 117 |
113 'conditions': [ | 118 'conditions': [ |
114 # Set default value of toolkit_views based on OS. | 119 # Set default value of toolkit_views based on OS. |
115 ['OS=="win" or chromeos==1 or use_aura==1', { | 120 ['OS=="win" or chromeos==1 or use_aura==1', { |
116 'toolkit_views%': 1, | 121 'toolkit_views%': 1, |
117 }, { | 122 }, { |
118 'toolkit_views%': 0, | 123 'toolkit_views%': 0, |
119 }], | 124 }], |
120 | 125 |
121 # Set toolkit_uses_gtk for the Chromium browser on Linux. | 126 # Set toolkit_uses_gtk for the Chromium browser on Linux. |
122 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and
use_aura==0', { | 127 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and
use_aura==0', { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 'toolkit_views%': '<(toolkit_views)', | 169 'toolkit_views%': '<(toolkit_views)', |
165 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 170 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
166 'use_aura%': '<(use_aura)', | 171 'use_aura%': '<(use_aura)', |
167 'use_ash%': '<(use_ash)', | 172 'use_ash%': '<(use_ash)', |
168 'use_openssl%': '<(use_openssl)', | 173 'use_openssl%': '<(use_openssl)', |
169 'enable_viewport%': '<(enable_viewport)', | 174 'enable_viewport%': '<(enable_viewport)', |
170 'enable_hidpi%': '<(enable_hidpi)', | 175 'enable_hidpi%': '<(enable_hidpi)', |
171 'enable_touch_ui%': '<(enable_touch_ui)', | 176 'enable_touch_ui%': '<(enable_touch_ui)', |
172 'android_build_type%': '<(android_build_type)', | 177 'android_build_type%': '<(android_build_type)', |
173 'google_tv%': '<(google_tv)', | 178 'google_tv%': '<(google_tv)', |
| 179 'inside_chromium_build%': '<(inside_chromium_build)', |
174 'enable_app_list%': '<(enable_app_list)', | 180 'enable_app_list%': '<(enable_app_list)', |
175 'enable_message_center%': '<(enable_message_center)', | 181 'enable_message_center%': '<(enable_message_center)', |
176 'use_default_render_theme%': '<(use_default_render_theme)', | 182 'use_default_render_theme%': '<(use_default_render_theme)', |
177 'buildtype%': '<(buildtype)', | 183 'buildtype%': '<(buildtype)', |
178 | 184 |
179 # Override branding to select the desired branding flavor. | 185 # Override branding to select the desired branding flavor. |
180 'branding%': 'Chromium', | 186 'branding%': 'Chromium', |
181 | 187 |
182 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are | |
183 # are built under a chromium full build (1) or a webkit.org chromium | |
184 # build (0). | |
185 'inside_chromium_build%': 1, | |
186 | |
187 # Set to 1 to enable fast builds. It disables debug info for fastest | 188 # Set to 1 to enable fast builds. It disables debug info for fastest |
188 # compilation. | 189 # compilation. |
189 'fastbuild%': 0, | 190 'fastbuild%': 0, |
190 | 191 |
191 # Set to 1 to enable dcheck in release without having to use the flag. | 192 # Set to 1 to enable dcheck in release without having to use the flag. |
192 'dcheck_always_on%': 0, | 193 'dcheck_always_on%': 0, |
193 | 194 |
194 # Disable file manager component extension by default. | 195 # Disable file manager component extension by default. |
195 'file_manager_extension%': 0, | 196 'file_manager_extension%': 0, |
196 | 197 |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 # specific implementations of gfx::Canvas. Affects text drawing in the | 389 # specific implementations of gfx::Canvas. Affects text drawing in the |
389 # Chrome UI. | 390 # Chrome UI. |
390 # TODO(asvitkine): Enable this on all platforms and delete this flag. | 391 # TODO(asvitkine): Enable this on all platforms and delete this flag. |
391 # http://crbug.com/105550 | 392 # http://crbug.com/105550 |
392 'use_canvas_skia%': 0, | 393 'use_canvas_skia%': 0, |
393 | 394 |
394 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work | 395 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work |
395 # with one of those tools. | 396 # with one of those tools. |
396 'build_for_tool%': '', | 397 'build_for_tool%': '', |
397 | 398 |
398 # Whether tests targets should be run, archived or just have the | |
399 # dependencies verified. All the tests targets have the '_run' suffix, | |
400 # e.g. base_unittests_run runs the target base_unittests. The test target | |
401 # always calls tools/swarm_client/isolate.py. See the script's --help for | |
402 # more information and the valid --mode values. Meant to be overriden with | |
403 # GYP_DEFINES. | |
404 # TODO(maruel): Converted the default from 'check' to 'noop' so work can | |
405 # be done while the builders are being reconfigured to check out test data | |
406 # files. | |
407 'test_isolation_mode%': 'noop', | |
408 # If no directory is specified then a temporary directory will be used. | 399 # If no directory is specified then a temporary directory will be used. |
409 'test_isolation_outdir%': '', | 400 'test_isolation_outdir%': '', |
| 401 # True if isolate should fail if the isolate files refer to files |
| 402 # that are missing. |
| 403 'test_isolation_fail_on_missing': 0, |
410 | 404 |
411 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86', | 405 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86', |
412 'wix_path%': '<(DEPTH)/third_party/wix', | 406 'wix_path%': '<(DEPTH)/third_party/wix', |
413 | 407 |
414 # Managed users are enabled by default. | 408 # Managed users are enabled by default. |
415 'enable_managed_users%': 1, | 409 'enable_managed_users%': 1, |
416 | 410 |
417 'spdy_proxy_auth_origin%' : '', | 411 'spdy_proxy_auth_origin%' : '', |
418 'spdy_proxy_auth_property%' : '', | 412 'spdy_proxy_auth_property%' : '', |
419 | 413 |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 'linux_breakpad%': 0, | 619 'linux_breakpad%': 0, |
626 'linux_use_tcmalloc%': 0, | 620 'linux_use_tcmalloc%': 0, |
627 # sysroot needs to be an absolute path otherwise it generates | 621 # sysroot needs to be an absolute path otherwise it generates |
628 # incorrect results when passed to pkg-config | 622 # incorrect results when passed to pkg-config |
629 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', | 623 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', |
630 }], # OS=="linux" and target_arch=="arm" and chromeos==0 | 624 }], # OS=="linux" and target_arch=="arm" and chromeos==0 |
631 | 625 |
632 ['target_arch=="mipsel"', { | 626 ['target_arch=="mipsel"', { |
633 'sysroot': '<!(cd <(DEPTH) && pwd -P)/native_client/toolchain/linux_mi
ps-trusted/sysroot', | 627 'sysroot': '<!(cd <(DEPTH) && pwd -P)/native_client/toolchain/linux_mi
ps-trusted/sysroot', |
634 }], | 628 }], |
| 629 |
| 630 # Whether tests targets should be run, archived or just have the |
| 631 # dependencies verified. All the tests targets have the '_run' suffix, |
| 632 # e.g. base_unittests_run runs the target base_unittests. The test |
| 633 # target always calls tools/swarm_client/isolate.py. See the script's |
| 634 # --help for more information and the valid --mode values. Meant to be |
| 635 # overriden with GYP_DEFINES. |
| 636 ['inside_chromium_build==1 and OS != "ios"', { |
| 637 'test_isolation_mode%': 'check', |
| 638 }, { |
| 639 'test_isolation_mode%': 'noop', |
| 640 }], |
635 ], | 641 ], |
636 | 642 |
637 # Set this to 1 to use the Google-internal file containing | 643 # Set this to 1 to use the Google-internal file containing |
638 # official API keys for Google Chrome even in a developer build. | 644 # official API keys for Google Chrome even in a developer build. |
639 # Setting this variable explicitly to 1 will cause your build to | 645 # Setting this variable explicitly to 1 will cause your build to |
640 # fail if the internal file is missing. | 646 # fail if the internal file is missing. |
641 # | 647 # |
642 # Set this to 0 to not use the internal file, even when it | 648 # Set this to 0 to not use the internal file, even when it |
643 # exists in your checkout. | 649 # exists in your checkout. |
644 # | 650 # |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 'enable_themes%': '<(enable_themes)', | 738 'enable_themes%': '<(enable_themes)', |
733 'enable_autofill_dialog%': '<(enable_autofill_dialog)', | 739 'enable_autofill_dialog%': '<(enable_autofill_dialog)', |
734 'use_oem_wallpaper%': '<(use_oem_wallpaper)', | 740 'use_oem_wallpaper%': '<(use_oem_wallpaper)', |
735 'enable_background%': '<(enable_background)', | 741 'enable_background%': '<(enable_background)', |
736 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 742 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
737 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 743 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
738 'linux_use_libgps%': '<(linux_use_libgps)', | 744 'linux_use_libgps%': '<(linux_use_libgps)', |
739 'use_canvas_skia%': '<(use_canvas_skia)', | 745 'use_canvas_skia%': '<(use_canvas_skia)', |
740 'test_isolation_mode%': '<(test_isolation_mode)', | 746 'test_isolation_mode%': '<(test_isolation_mode)', |
741 'test_isolation_outdir%': '<(test_isolation_outdir)', | 747 'test_isolation_outdir%': '<(test_isolation_outdir)', |
| 748 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', |
742 'enable_automation%': '<(enable_automation)', | 749 'enable_automation%': '<(enable_automation)', |
743 'enable_printing%': '<(enable_printing)', | 750 'enable_printing%': '<(enable_printing)', |
744 'enable_google_now%': '<(enable_google_now)', | 751 'enable_google_now%': '<(enable_google_now)', |
745 'enable_language_detection%': '<(enable_language_detection)', | 752 'enable_language_detection%': '<(enable_language_detection)', |
746 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 753 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
747 'disable_ftp_support%': '<(disable_ftp_support)', | 754 'disable_ftp_support%': '<(disable_ftp_support)', |
748 'enable_task_manager%': '<(enable_task_manager)', | 755 'enable_task_manager%': '<(enable_task_manager)', |
749 'sas_dll_path%': '<(sas_dll_path)', | 756 'sas_dll_path%': '<(sas_dll_path)', |
750 'wix_path%': '<(wix_path)', | 757 'wix_path%': '<(wix_path)', |
751 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 758 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
(...skipping 3373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4125 # settings in target dicts. SYMROOT is a special case, because many other | 4132 # settings in target dicts. SYMROOT is a special case, because many other |
4126 # Xcode variables depend on it, including variables such as | 4133 # Xcode variables depend on it, including variables such as |
4127 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4134 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4128 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4135 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4129 # files to appear (when present) in the UI as actual files and not red | 4136 # files to appear (when present) in the UI as actual files and not red |
4130 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4137 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4131 # and therefore SYMROOT, needs to be set at the project level. | 4138 # and therefore SYMROOT, needs to be set at the project level. |
4132 'SYMROOT': '<(DEPTH)/xcodebuild', | 4139 'SYMROOT': '<(DEPTH)/xcodebuild', |
4133 }, | 4140 }, |
4134 } | 4141 } |
OLD | NEW |