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 | |
118 'conditions': [ | 113 'conditions': [ |
119 # Set default value of toolkit_views based on OS. | 114 # Set default value of toolkit_views based on OS. |
120 ['OS=="win" or chromeos==1 or use_aura==1', { | 115 ['OS=="win" or chromeos==1 or use_aura==1', { |
121 'toolkit_views%': 1, | 116 'toolkit_views%': 1, |
122 }, { | 117 }, { |
123 'toolkit_views%': 0, | 118 'toolkit_views%': 0, |
124 }], | 119 }], |
125 | 120 |
126 # Set toolkit_uses_gtk for the Chromium browser on Linux. | 121 # Set toolkit_uses_gtk for the Chromium browser on Linux. |
127 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and
use_aura==0', { | 122 ['(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... |
169 'toolkit_views%': '<(toolkit_views)', | 164 'toolkit_views%': '<(toolkit_views)', |
170 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 165 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
171 'use_aura%': '<(use_aura)', | 166 'use_aura%': '<(use_aura)', |
172 'use_ash%': '<(use_ash)', | 167 'use_ash%': '<(use_ash)', |
173 'use_openssl%': '<(use_openssl)', | 168 'use_openssl%': '<(use_openssl)', |
174 'enable_viewport%': '<(enable_viewport)', | 169 'enable_viewport%': '<(enable_viewport)', |
175 'enable_hidpi%': '<(enable_hidpi)', | 170 'enable_hidpi%': '<(enable_hidpi)', |
176 'enable_touch_ui%': '<(enable_touch_ui)', | 171 'enable_touch_ui%': '<(enable_touch_ui)', |
177 'android_build_type%': '<(android_build_type)', | 172 'android_build_type%': '<(android_build_type)', |
178 'google_tv%': '<(google_tv)', | 173 'google_tv%': '<(google_tv)', |
179 'inside_chromium_build%': '<(inside_chromium_build)', | |
180 'enable_app_list%': '<(enable_app_list)', | 174 'enable_app_list%': '<(enable_app_list)', |
181 'enable_message_center%': '<(enable_message_center)', | 175 'enable_message_center%': '<(enable_message_center)', |
182 'use_default_render_theme%': '<(use_default_render_theme)', | 176 'use_default_render_theme%': '<(use_default_render_theme)', |
183 'buildtype%': '<(buildtype)', | 177 'buildtype%': '<(buildtype)', |
184 | 178 |
185 # Override branding to select the desired branding flavor. | 179 # Override branding to select the desired branding flavor. |
186 'branding%': 'Chromium', | 180 'branding%': 'Chromium', |
187 | 181 |
| 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 |
188 # Set to 1 to enable fast builds. It disables debug info for fastest | 187 # Set to 1 to enable fast builds. It disables debug info for fastest |
189 # compilation. | 188 # compilation. |
190 'fastbuild%': 0, | 189 'fastbuild%': 0, |
191 | 190 |
192 # Set to 1 to enable dcheck in release without having to use the flag. | 191 # Set to 1 to enable dcheck in release without having to use the flag. |
193 'dcheck_always_on%': 0, | 192 'dcheck_always_on%': 0, |
194 | 193 |
195 # Disable file manager component extension by default. | 194 # Disable file manager component extension by default. |
196 'file_manager_extension%': 0, | 195 'file_manager_extension%': 0, |
197 | 196 |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 # specific implementations of gfx::Canvas. Affects text drawing in the | 384 # specific implementations of gfx::Canvas. Affects text drawing in the |
386 # Chrome UI. | 385 # Chrome UI. |
387 # TODO(asvitkine): Enable this on all platforms and delete this flag. | 386 # TODO(asvitkine): Enable this on all platforms and delete this flag. |
388 # http://crbug.com/105550 | 387 # http://crbug.com/105550 |
389 'use_canvas_skia%': 0, | 388 'use_canvas_skia%': 0, |
390 | 389 |
391 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work | 390 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work |
392 # with one of those tools. | 391 # with one of those tools. |
393 'build_for_tool%': '', | 392 'build_for_tool%': '', |
394 | 393 |
| 394 # Whether tests targets should be run, archived or just have the |
| 395 # dependencies verified. All the tests targets have the '_run' suffix, |
| 396 # e.g. base_unittests_run runs the target base_unittests. The test target |
| 397 # always calls tools/swarm_client/isolate.py. See the script's --help for |
| 398 # more information and the valid --mode values. Meant to be overriden with |
| 399 # GYP_DEFINES. |
| 400 # TODO(maruel): Converted the default from 'check' to 'noop' so work can |
| 401 # be done while the builders are being reconfigured to check out test data |
| 402 # files. |
| 403 'test_isolation_mode%': 'noop', |
395 # If no directory is specified then a temporary directory will be used. | 404 # If no directory is specified then a temporary directory will be used. |
396 'test_isolation_outdir%': '', | 405 'test_isolation_outdir%': '', |
397 # True if isolate should fail if the isolate files refer to files | |
398 # that are missing. | |
399 'test_isolation_fail_on_missing': 0, | |
400 | 406 |
401 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86', | 407 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86', |
402 'wix_path%': '<(DEPTH)/third_party/wix', | 408 'wix_path%': '<(DEPTH)/third_party/wix', |
403 | 409 |
404 # Managed users are enabled by default. | 410 # Managed users are enabled by default. |
405 'enable_managed_users%': 1, | 411 'enable_managed_users%': 1, |
406 | 412 |
407 'spdy_proxy_auth_origin%' : '', | 413 'spdy_proxy_auth_origin%' : '', |
408 'spdy_proxy_auth_property%' : '', | 414 'spdy_proxy_auth_property%' : '', |
409 | 415 |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 'linux_breakpad%': 0, | 612 'linux_breakpad%': 0, |
607 'linux_use_tcmalloc%': 0, | 613 'linux_use_tcmalloc%': 0, |
608 # sysroot needs to be an absolute path otherwise it generates | 614 # sysroot needs to be an absolute path otherwise it generates |
609 # incorrect results when passed to pkg-config | 615 # incorrect results when passed to pkg-config |
610 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', | 616 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', |
611 }], # OS=="linux" and target_arch=="arm" and chromeos==0 | 617 }], # OS=="linux" and target_arch=="arm" and chromeos==0 |
612 | 618 |
613 ['target_arch=="mipsel"', { | 619 ['target_arch=="mipsel"', { |
614 'sysroot': '<!(cd <(DEPTH) && pwd -P)/native_client/toolchain/linux_mi
ps-trusted/sysroot', | 620 'sysroot': '<!(cd <(DEPTH) && pwd -P)/native_client/toolchain/linux_mi
ps-trusted/sysroot', |
615 }], | 621 }], |
616 | |
617 # Whether tests targets should be run, archived or just have the | |
618 # dependencies verified. All the tests targets have the '_run' suffix, | |
619 # e.g. base_unittests_run runs the target base_unittests. The test | |
620 # target always calls tools/swarm_client/isolate.py. See the script's | |
621 # --help for more information and the valid --mode values. Meant to be | |
622 # overriden with GYP_DEFINES. | |
623 ['inside_chromium_build==1 and OS != "ios"', { | |
624 'test_isolation_mode%': 'check', | |
625 }, { | |
626 'test_isolation_mode%': 'noop', | |
627 }], | |
628 ], | 622 ], |
629 | 623 |
630 # Set this to 1 to use the Google-internal file containing | 624 # Set this to 1 to use the Google-internal file containing |
631 # official API keys for Google Chrome even in a developer build. | 625 # official API keys for Google Chrome even in a developer build. |
632 # Setting this variable explicitly to 1 will cause your build to | 626 # Setting this variable explicitly to 1 will cause your build to |
633 # fail if the internal file is missing. | 627 # fail if the internal file is missing. |
634 # | 628 # |
635 # Set this to 0 to not use the internal file, even when it | 629 # Set this to 0 to not use the internal file, even when it |
636 # exists in your checkout. | 630 # exists in your checkout. |
637 # | 631 # |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 'enable_themes%': '<(enable_themes)', | 717 'enable_themes%': '<(enable_themes)', |
724 'enable_autofill_dialog%': '<(enable_autofill_dialog)', | 718 'enable_autofill_dialog%': '<(enable_autofill_dialog)', |
725 'use_oem_wallpaper%': '<(use_oem_wallpaper)', | 719 'use_oem_wallpaper%': '<(use_oem_wallpaper)', |
726 'enable_background%': '<(enable_background)', | 720 'enable_background%': '<(enable_background)', |
727 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 721 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
728 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 722 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
729 'linux_use_libgps%': '<(linux_use_libgps)', | 723 'linux_use_libgps%': '<(linux_use_libgps)', |
730 'use_canvas_skia%': '<(use_canvas_skia)', | 724 'use_canvas_skia%': '<(use_canvas_skia)', |
731 'test_isolation_mode%': '<(test_isolation_mode)', | 725 'test_isolation_mode%': '<(test_isolation_mode)', |
732 'test_isolation_outdir%': '<(test_isolation_outdir)', | 726 'test_isolation_outdir%': '<(test_isolation_outdir)', |
733 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', | |
734 'enable_automation%': '<(enable_automation)', | 727 'enable_automation%': '<(enable_automation)', |
735 'enable_printing%': '<(enable_printing)', | 728 'enable_printing%': '<(enable_printing)', |
736 'enable_google_now%': '<(enable_google_now)', | 729 'enable_google_now%': '<(enable_google_now)', |
737 'enable_language_detection%': '<(enable_language_detection)', | 730 'enable_language_detection%': '<(enable_language_detection)', |
738 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 731 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
739 'disable_ftp_support%': '<(disable_ftp_support)', | 732 'disable_ftp_support%': '<(disable_ftp_support)', |
740 'enable_task_manager%': '<(enable_task_manager)', | 733 'enable_task_manager%': '<(enable_task_manager)', |
741 'sas_dll_path%': '<(sas_dll_path)', | 734 'sas_dll_path%': '<(sas_dll_path)', |
742 'wix_path%': '<(wix_path)', | 735 'wix_path%': '<(wix_path)', |
743 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 736 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
(...skipping 3369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4113 # settings in target dicts. SYMROOT is a special case, because many other | 4106 # settings in target dicts. SYMROOT is a special case, because many other |
4114 # Xcode variables depend on it, including variables such as | 4107 # Xcode variables depend on it, including variables such as |
4115 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4108 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4116 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4109 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4117 # files to appear (when present) in the UI as actual files and not red | 4110 # files to appear (when present) in the UI as actual files and not red |
4118 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4111 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4119 # and therefore SYMROOT, needs to be set at the project level. | 4112 # and therefore SYMROOT, needs to be set at the project level. |
4120 'SYMROOT': '<(DEPTH)/xcodebuild', | 4113 'SYMROOT': '<(DEPTH)/xcodebuild', |
4121 }, | 4114 }, |
4122 } | 4115 } |
OLD | NEW |