Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1215)

Side by Side Diff: build/common.gypi

Issue 12454003: Change test_isolation_mode default from noop to check (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebasing Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/isolate.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 # This is set when building the Android WebView inside the Android 105 # This is set when building the Android WebView inside the Android
106 # build system, using the 'android' gyp backend. The WebView code is 106 # build system, using the 'android' gyp backend. The WebView code is
107 # still built when this is unset, but builds using the normal chromium 107 # still built when this is unset, but builds using the normal chromium
108 # build system. 108 # build system.
109 'android_webview_build%': 0, 109 'android_webview_build%': 0,
110 110
111 # Sets whether chrome is built for google tv device. 111 # Sets whether chrome is built for google tv device.
112 'google_tv%': 0, 112 'google_tv%': 0,
113 113
114 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they
115 # are built under a chromium full build (1) or a webkit.org chromium
116 # build (0).
117 'inside_chromium_build%': 1,
118
114 'conditions': [ 119 'conditions': [
115 # Set default value of toolkit_views based on OS. 120 # Set default value of toolkit_views based on OS.
116 ['OS=="win" or chromeos==1 or use_aura==1', { 121 ['OS=="win" or chromeos==1 or use_aura==1', {
117 'toolkit_views%': 1, 122 'toolkit_views%': 1,
118 }, { 123 }, {
119 'toolkit_views%': 0, 124 'toolkit_views%': 0,
120 }], 125 }],
121 126
122 # Set toolkit_uses_gtk for the Chromium browser on Linux. 127 # Set toolkit_uses_gtk for the Chromium browser on Linux.
123 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and use_aura==0', { 128 ['(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
165 'toolkit_views%': '<(toolkit_views)', 170 'toolkit_views%': '<(toolkit_views)',
166 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', 171 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)',
167 'use_aura%': '<(use_aura)', 172 'use_aura%': '<(use_aura)',
168 'use_ash%': '<(use_ash)', 173 'use_ash%': '<(use_ash)',
169 'use_openssl%': '<(use_openssl)', 174 'use_openssl%': '<(use_openssl)',
170 'enable_viewport%': '<(enable_viewport)', 175 'enable_viewport%': '<(enable_viewport)',
171 'enable_hidpi%': '<(enable_hidpi)', 176 'enable_hidpi%': '<(enable_hidpi)',
172 'enable_touch_ui%': '<(enable_touch_ui)', 177 'enable_touch_ui%': '<(enable_touch_ui)',
173 'android_webview_build%': '<(android_webview_build)', 178 'android_webview_build%': '<(android_webview_build)',
174 'google_tv%': '<(google_tv)', 179 'google_tv%': '<(google_tv)',
180 'inside_chromium_build%': '<(inside_chromium_build)',
175 'enable_app_list%': '<(enable_app_list)', 181 'enable_app_list%': '<(enable_app_list)',
176 'enable_message_center%': '<(enable_message_center)', 182 'enable_message_center%': '<(enable_message_center)',
177 'use_default_render_theme%': '<(use_default_render_theme)', 183 'use_default_render_theme%': '<(use_default_render_theme)',
178 'buildtype%': '<(buildtype)', 184 'buildtype%': '<(buildtype)',
179 185
180 # Override branding to select the desired branding flavor. 186 # Override branding to select the desired branding flavor.
181 'branding%': 'Chromium', 187 'branding%': 'Chromium',
182 188
183 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are
184 # are built under a chromium full build (1) or a webkit.org chromium
185 # build (0).
186 'inside_chromium_build%': 1,
187
188 # Set to 1 to enable fast builds. It disables debug info for fastest 189 # Set to 1 to enable fast builds. It disables debug info for fastest
189 # compilation. 190 # compilation.
190 'fastbuild%': 0, 191 'fastbuild%': 0,
191 192
192 # Set to 1 to enable dcheck in release without having to use the flag. 193 # Set to 1 to enable dcheck in release without having to use the flag.
193 'dcheck_always_on%': 0, 194 'dcheck_always_on%': 0,
194 195
195 # Disable file manager component extension by default. 196 # Disable file manager component extension by default.
196 'file_manager_extension%': 0, 197 'file_manager_extension%': 0,
197 198
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 # specific implementations of gfx::Canvas. Affects text drawing in the 378 # specific implementations of gfx::Canvas. Affects text drawing in the
378 # Chrome UI. 379 # Chrome UI.
379 # TODO(asvitkine): Enable this on all platforms and delete this flag. 380 # TODO(asvitkine): Enable this on all platforms and delete this flag.
380 # http://crbug.com/105550 381 # http://crbug.com/105550
381 'use_canvas_skia%': 0, 382 'use_canvas_skia%': 0,
382 383
383 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work 384 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work
384 # with one of those tools. 385 # with one of those tools.
385 'build_for_tool%': '', 386 'build_for_tool%': '',
386 387
387 # Whether tests targets should be run, archived or just have the
388 # dependencies verified. All the tests targets have the '_run' suffix,
389 # e.g. base_unittests_run runs the target base_unittests. The test target
390 # always calls tools/swarm_client/isolate.py. See the script's --help for
391 # more information and the valid --mode values. Meant to be overriden with
392 # GYP_DEFINES.
393 # TODO(maruel): Converted the default from 'check' to 'noop' so work can
394 # be done while the builders are being reconfigured to check out test data
395 # files.
396 'test_isolation_mode%': 'noop',
397 # If no directory is specified then a temporary directory will be used. 388 # If no directory is specified then a temporary directory will be used.
398 'test_isolation_outdir%': '', 389 'test_isolation_outdir%': '',
390 # True if isolate should fail if the isolate files refer to files
391 # that are missing.
392 'test_isolation_fail_on_missing': 0,
399 393
400 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86', 394 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86',
401 'wix_path%': '<(DEPTH)/third_party/wix', 395 'wix_path%': '<(DEPTH)/third_party/wix',
402 396
403 # Managed users are enabled by default. 397 # Managed users are enabled by default.
404 'enable_managed_users%': 1, 398 'enable_managed_users%': 1,
405 399
406 'spdy_proxy_auth_origin%' : '', 400 'spdy_proxy_auth_origin%' : '',
407 'spdy_proxy_auth_property%' : '', 401 'spdy_proxy_auth_property%' : '',
408 402
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 'linux_use_tcmalloc%': 0, 600 'linux_use_tcmalloc%': 0,
607 # sysroot needs to be an absolute path otherwise it generates 601 # sysroot needs to be an absolute path otherwise it generates
608 # incorrect results when passed to pkg-config 602 # incorrect results when passed to pkg-config
609 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', 603 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot',
610 }], # OS=="linux" and target_arch=="arm" and chromeos==0 604 }], # OS=="linux" and target_arch=="arm" and chromeos==0
611 605
612 ['target_arch=="mipsel"', { 606 ['target_arch=="mipsel"', {
613 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot', 607 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot',
614 'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu -gcc', 608 'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu -gcc',
615 }], 609 }],
610
611 # Whether tests targets should be run, archived or just have the
612 # dependencies verified. All the tests targets have the '_run' suffix,
613 # e.g. base_unittests_run runs the target base_unittests. The test
614 # target always calls tools/swarm_client/isolate.py. See the script's
615 # --help for more information and the valid --mode values. Meant to be
616 # overriden with GYP_DEFINES.
617 ['inside_chromium_build==1 and OS != "ios"', {
618 'test_isolation_mode%': 'check',
619 }, {
620 'test_isolation_mode%': 'noop',
621 }],
616 ], 622 ],
617 623
618 # Set this to 1 to use the Google-internal file containing 624 # Set this to 1 to use the Google-internal file containing
619 # official API keys for Google Chrome even in a developer build. 625 # official API keys for Google Chrome even in a developer build.
620 # Setting this variable explicitly to 1 will cause your build to 626 # Setting this variable explicitly to 1 will cause your build to
621 # fail if the internal file is missing. 627 # fail if the internal file is missing.
622 # 628 #
623 # 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
624 # exists in your checkout. 630 # exists in your checkout.
625 # 631 #
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 'enable_themes%': '<(enable_themes)', 716 'enable_themes%': '<(enable_themes)',
711 'enable_autofill_dialog%': '<(enable_autofill_dialog)', 717 'enable_autofill_dialog%': '<(enable_autofill_dialog)',
712 'use_oem_wallpaper%': '<(use_oem_wallpaper)', 718 'use_oem_wallpaper%': '<(use_oem_wallpaper)',
713 'enable_background%': '<(enable_background)', 719 'enable_background%': '<(enable_background)',
714 'linux_use_gold_binary%': '<(linux_use_gold_binary)', 720 'linux_use_gold_binary%': '<(linux_use_gold_binary)',
715 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 721 'linux_use_gold_flags%': '<(linux_use_gold_flags)',
716 'linux_use_libgps%': '<(linux_use_libgps)', 722 'linux_use_libgps%': '<(linux_use_libgps)',
717 'use_canvas_skia%': '<(use_canvas_skia)', 723 'use_canvas_skia%': '<(use_canvas_skia)',
718 'test_isolation_mode%': '<(test_isolation_mode)', 724 'test_isolation_mode%': '<(test_isolation_mode)',
719 'test_isolation_outdir%': '<(test_isolation_outdir)', 725 'test_isolation_outdir%': '<(test_isolation_outdir)',
726 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)',
720 'enable_automation%': '<(enable_automation)', 727 'enable_automation%': '<(enable_automation)',
721 'enable_printing%': '<(enable_printing)', 728 'enable_printing%': '<(enable_printing)',
722 'enable_google_now%': '<(enable_google_now)', 729 'enable_google_now%': '<(enable_google_now)',
723 'enable_language_detection%': '<(enable_language_detection)', 730 'enable_language_detection%': '<(enable_language_detection)',
724 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 731 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
725 'disable_ftp_support%': '<(disable_ftp_support)', 732 'disable_ftp_support%': '<(disable_ftp_support)',
726 'enable_task_manager%': '<(enable_task_manager)', 733 'enable_task_manager%': '<(enable_task_manager)',
727 'sas_dll_path%': '<(sas_dll_path)', 734 'sas_dll_path%': '<(sas_dll_path)',
728 'wix_path%': '<(wix_path)', 735 'wix_path%': '<(wix_path)',
729 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 736 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
(...skipping 3411 matching lines...) Expand 10 before | Expand all | Expand 10 after
4141 # settings in target dicts. SYMROOT is a special case, because many other 4148 # settings in target dicts. SYMROOT is a special case, because many other
4142 # Xcode variables depend on it, including variables such as 4149 # Xcode variables depend on it, including variables such as
4143 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4150 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4144 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4151 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4145 # files to appear (when present) in the UI as actual files and not red 4152 # files to appear (when present) in the UI as actual files and not red
4146 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4153 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4147 # and therefore SYMROOT, needs to be set at the project level. 4154 # and therefore SYMROOT, needs to be set at the project level.
4148 'SYMROOT': '<(DEPTH)/xcodebuild', 4155 'SYMROOT': '<(DEPTH)/xcodebuild',
4149 }, 4156 },
4150 } 4157 }
OLDNEW
« no previous file with comments | « no previous file | build/isolate.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698