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

Unified Diff: build/common.gypi

Issue 12775012: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/isolate.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 11920ea8b847b701d1576bd8fd2c50f85eab2dc8..1f4e9faa6accdd230ca3c2f638a7ecd05d233f6b 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -111,6 +111,11 @@
# Sets whether chrome is built for google tv device.
'google_tv%': 0,
+ # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they
+ # are built under a chromium full build (1) or a webkit.org chromium
+ # build (0).
+ 'inside_chromium_build%': 1,
+
'conditions': [
# Set default value of toolkit_views based on OS.
['OS=="win" or chromeos==1 or use_aura==1', {
@@ -172,6 +177,7 @@
'enable_touch_ui%': '<(enable_touch_ui)',
'android_webview_build%': '<(android_webview_build)',
'google_tv%': '<(google_tv)',
+ 'inside_chromium_build%': '<(inside_chromium_build)',
'enable_app_list%': '<(enable_app_list)',
'enable_message_center%': '<(enable_message_center)',
'use_default_render_theme%': '<(use_default_render_theme)',
@@ -180,11 +186,6 @@
# Override branding to select the desired branding flavor.
'branding%': 'Chromium',
- # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are
- # are built under a chromium full build (1) or a webkit.org chromium
- # build (0).
- 'inside_chromium_build%': 1,
-
# Set to 1 to enable fast builds. It disables debug info for fastest
# compilation.
'fastbuild%': 0,
@@ -389,18 +390,11 @@
# with one of those tools.
'build_for_tool%': '',
- # Whether tests targets should be run, archived or just have the
- # dependencies verified. All the tests targets have the '_run' suffix,
- # e.g. base_unittests_run runs the target base_unittests. The test target
- # always calls tools/swarm_client/isolate.py. See the script's --help for
- # more information and the valid --mode values. Meant to be overriden with
- # GYP_DEFINES.
- # TODO(maruel): Converted the default from 'check' to 'noop' so work can
- # be done while the builders are being reconfigured to check out test data
- # files.
- 'test_isolation_mode%': 'noop',
# If no directory is specified then a temporary directory will be used.
'test_isolation_outdir%': '',
+ # True if isolate should fail if the isolate files refer to files
+ # that are missing.
+ 'test_isolation_fail_on_missing': 0,
'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x86',
'wix_path%': '<(DEPTH)/third_party/wix',
@@ -619,6 +613,18 @@
'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot',
'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu-gcc',
}],
+
+ # Whether tests targets should be run, archived or just have the
+ # dependencies verified. All the tests targets have the '_run' suffix,
+ # e.g. base_unittests_run runs the target base_unittests. The test
+ # target always calls tools/swarm_client/isolate.py. See the script's
+ # --help for more information and the valid --mode values. Meant to be
+ # overriden with GYP_DEFINES.
+ ['inside_chromium_build==1 and OS != "ios"', {
+ 'test_isolation_mode%': 'check',
+ }, {
+ 'test_isolation_mode%': 'noop',
+ }],
],
# Set this to 1 to use the Google-internal file containing
@@ -724,6 +730,7 @@
'use_canvas_skia%': '<(use_canvas_skia)',
'test_isolation_mode%': '<(test_isolation_mode)',
'test_isolation_outdir%': '<(test_isolation_outdir)',
+ 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)',
'enable_automation%': '<(enable_automation)',
'enable_printing%': '<(enable_printing)',
'enable_google_now%': '<(enable_google_now)',
« 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