Index: scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_Windows_deterministic.json |
diff --git a/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_Windows_deterministic.json b/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_Windows_deterministic.json |
index edb2bd0f16baf4a90e187411b055925059768b78..ea94f85b4b915c3d74622c555f2c5ce6e88d50b7 100644 |
--- a/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_Windows_deterministic.json |
+++ b/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_Windows_deterministic.json |
@@ -8,6 +8,7 @@ |
"python", |
"RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\cleanup_temp.py" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "cleanup_temp" |
}, |
{ |
@@ -22,13 +23,13 @@ |
"--slave", |
"TestSlavename", |
"--spec", |
- "cache_dir = '[ROOT]\\\\b\\\\build\\\\slave\\\\cache_dir'\nsolutions = [{'custom_vars': {'googlecode_url': 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]", |
+ "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_vars': {'googlecode_url': 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]", |
"--root", |
"src", |
"--revision_mapping_file", |
"{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_revision\"}", |
"--git-cache-dir", |
- "[ROOT]\\b\\build\\slave\\cache_dir", |
+ "[GIT_CACHE]", |
"--output_json", |
"/path/to/tmp/json", |
"--revision", |
@@ -36,6 +37,7 @@ |
"--force", |
"--output_manifest" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -114,9 +116,10 @@ |
"RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", |
"runhooks" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json", |
- "GYP_DEFINES": "chromium_win_pch=0 component=static_library fastbuild=1 gomadir='[ROOT]\\b\\build\\goma' target_arch=ia32 test_isolation_mode=prepare use_goma=1", |
+ "GYP_DEFINES": "chromium_win_pch=0 component=static_library fastbuild=1 gomadir='[BUILD]\\goma' target_arch=ia32 test_isolation_mode=prepare use_goma=1", |
"PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
"name": "gclient runhooks" |
@@ -136,9 +139,9 @@ |
"--target", |
"Release", |
"--src-dir", |
- "[CWD]\\src", |
+ "[SLAVE_BUILD]\\src", |
"--goma-cache-dir", |
- "[ROOT]\\b\\build\\slave\\goma_cache", |
+ "[GOMA_CACHE]", |
"--build-tool", |
"ninja", |
"--compiler", |
@@ -148,11 +151,12 @@ |
"--goma-service-account-json-file", |
"C:\\creds\\service_accounts\\service-account-goma-client.json", |
"--goma-dir", |
- "[ROOT]\\b\\build\\goma", |
+ "[BUILD]\\goma", |
"--clobber", |
"--", |
"all" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json" |
}, |
@@ -168,11 +172,11 @@ |
"-u", |
"RECIPE_MODULE[build::isolate]\\resources\\remove_build_metadata.py", |
"--build-dir", |
- "[CWD]\\src\\out\\Release", |
+ "[SLAVE_BUILD]\\src\\out\\Release", |
"--src-dir", |
- "[CWD]\\src" |
+ "[SLAVE_BUILD]\\src" |
], |
- "cwd": "[CWD]", |
+ "cwd": "[SLAVE_BUILD]", |
"name": "remove_build_metadata", |
"~followup_annotations": [ |
"step returned non-zero exit code: 1", |
@@ -185,8 +189,9 @@ |
"-u", |
"\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('\\n'.join(glob.glob(sys.argv[2])))\n", |
"/path/to/tmp/", |
- "[CWD]\\src\\out\\Release\\*.isolated.gen.json" |
+ "[SLAVE_BUILD]\\src\\out\\Release\\*.isolated.gen.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "find isolated targets" |
}, |
{ |
@@ -194,15 +199,16 @@ |
"python", |
"-u", |
"RECIPE_MODULE[build::isolate]\\resources\\isolate.py", |
- "[CWD]\\src\\tools\\swarming_client", |
+ "[SLAVE_BUILD]\\src\\tools\\swarming_client", |
"batcharchive", |
"--dump-json", |
"/path/to/tmp/json", |
"--isolate-server", |
"https://isolateserver.appspot.com", |
- "[CWD]\\src\\out\\Release\\dummy_target_1.isolated.gen.json", |
- "[CWD]\\src\\out\\Release\\dummy_target_2.isolated.gen.json" |
+ "[SLAVE_BUILD]\\src\\out\\Release\\dummy_target_1.isolated.gen.json", |
+ "[SLAVE_BUILD]\\src\\out\\Release\\dummy_target_2.isolated.gen.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "isolate tests", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -218,10 +224,11 @@ |
"python", |
"-u", |
"\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", |
- "[CWD]\\src\\out\\Release", |
- "[CWD]\\src\\out\\Release.1" |
+ "[SLAVE_BUILD]\\src\\out\\Release", |
+ "[SLAVE_BUILD]\\src\\out\\Release.1" |
], |
- "name": "Move [CWD]\\src\\out\\Release to [CWD]\\src\\out\\Release.1", |
+ "cwd": "[SLAVE_BUILD]", |
+ "name": "Move [SLAVE_BUILD]\\src\\out\\Release to [SLAVE_BUILD]\\src\\out\\Release.1", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@python.inline@@@@", |
"@@@STEP_LOG_LINE@python.inline@import os@@@", |
@@ -240,9 +247,10 @@ |
"RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", |
"runhooks" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json", |
- "GYP_DEFINES": "chromium_win_pch=0 component=static_library fastbuild=1 gomadir='[ROOT]\\b\\build\\goma' target_arch=ia32 test_isolation_mode=prepare use_goma=1", |
+ "GYP_DEFINES": "chromium_win_pch=0 component=static_library fastbuild=1 gomadir='[BUILD]\\goma' target_arch=ia32 test_isolation_mode=prepare use_goma=1", |
"PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
"name": "gclient runhooks (2)" |
@@ -262,9 +270,9 @@ |
"--target", |
"Release", |
"--src-dir", |
- "[CWD]\\src", |
+ "[SLAVE_BUILD]\\src", |
"--goma-cache-dir", |
- "[ROOT]\\b\\build\\slave\\goma_cache", |
+ "[GOMA_CACHE]", |
"--build-tool", |
"ninja", |
"--compiler", |
@@ -274,11 +282,12 @@ |
"--goma-service-account-json-file", |
"C:\\creds\\service_accounts\\service-account-goma-client.json", |
"--goma-dir", |
- "[ROOT]\\b\\build\\goma", |
+ "[BUILD]\\goma", |
"--clobber", |
"--", |
"all" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json" |
}, |
@@ -294,11 +303,11 @@ |
"-u", |
"RECIPE_MODULE[build::isolate]\\resources\\remove_build_metadata.py", |
"--build-dir", |
- "[CWD]\\src\\out\\Release", |
+ "[SLAVE_BUILD]\\src\\out\\Release", |
"--src-dir", |
- "[CWD]\\src" |
+ "[SLAVE_BUILD]\\src" |
], |
- "cwd": "[CWD]", |
+ "cwd": "[SLAVE_BUILD]", |
"name": "remove_build_metadata (2)" |
}, |
{ |
@@ -307,8 +316,9 @@ |
"-u", |
"\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('\\n'.join(glob.glob(sys.argv[2])))\n", |
"/path/to/tmp/", |
- "[CWD]\\src\\out\\Release\\*.isolated.gen.json" |
+ "[SLAVE_BUILD]\\src\\out\\Release\\*.isolated.gen.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "find isolated targets (2)" |
}, |
{ |
@@ -316,15 +326,16 @@ |
"python", |
"-u", |
"RECIPE_MODULE[build::isolate]\\resources\\isolate.py", |
- "[CWD]\\src\\tools\\swarming_client", |
+ "[SLAVE_BUILD]\\src\\tools\\swarming_client", |
"batcharchive", |
"--dump-json", |
"/path/to/tmp/json", |
"--isolate-server", |
"https://isolateserver.appspot.com", |
- "[CWD]\\src\\out\\Release\\dummy_target_1.isolated.gen.json", |
- "[CWD]\\src\\out\\Release\\dummy_target_2.isolated.gen.json" |
+ "[SLAVE_BUILD]\\src\\out\\Release\\dummy_target_1.isolated.gen.json", |
+ "[SLAVE_BUILD]\\src\\out\\Release\\dummy_target_2.isolated.gen.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "isolate tests (2)", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -340,10 +351,11 @@ |
"python", |
"-u", |
"\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", |
- "[CWD]\\src\\out\\Release", |
- "[CWD]\\src\\out\\Release.2" |
+ "[SLAVE_BUILD]\\src\\out\\Release", |
+ "[SLAVE_BUILD]\\src\\out\\Release.2" |
], |
- "name": "Move [CWD]\\src\\out\\Release to [CWD]\\src\\out\\Release.2", |
+ "cwd": "[SLAVE_BUILD]", |
+ "name": "Move [SLAVE_BUILD]\\src\\out\\Release to [SLAVE_BUILD]\\src\\out\\Release.2", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@python.inline@@@@", |
"@@@STEP_LOG_LINE@python.inline@import os@@@", |
@@ -361,13 +373,13 @@ |
"-u", |
"RECIPE_MODULE[build::isolate]\\resources\\compare_build_artifacts.py", |
"--first-build-dir", |
- "[CWD]\\src\\out\\Release.1", |
+ "[SLAVE_BUILD]\\src\\out\\Release.1", |
"--second-build-dir", |
- "[CWD]\\src\\out\\Release.2", |
+ "[SLAVE_BUILD]\\src\\out\\Release.2", |
"--target-platform", |
"win" |
], |
- "cwd": "[CWD]", |
+ "cwd": "[SLAVE_BUILD]", |
"name": "compare_build_artifacts" |
}, |
{ |