Index: scripts/slave/recipes/ios/try.expected/gn.json |
diff --git a/scripts/slave/recipes/ios/try.expected/gn.json b/scripts/slave/recipes/ios/try.expected/gn.json |
index e17f9a037cf01e53a2982fe1694a094777a4aa45..20768592bc5f12dffb5a54a5ea74045e3112470f 100644 |
--- a/scripts/slave/recipes/ios/try.expected/gn.json |
+++ b/scripts/slave/recipes/ios/try.expected/gn.json |
@@ -5,6 +5,7 @@ |
"--json-file", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "host and tools info", |
"~followup_annotations": [ |
"@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", |
@@ -33,13 +34,13 @@ |
"--slave", |
"fake-vm", |
"--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'}, {'custom_deps': {'src/chrome/test/data/firefox2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchplugins': None, 'src/chrome/test/data/firefox3_profile/searchplugins': None, 'src/chrome/test/data/firefox3_searchplugins': None, 'src/chrome/test/data/osdd': None, 'src/chrome/test/data/perf/frame_rate/private': None, 'src/chrome/test/data/plugin': None, 'src/chrome/test/data/ssl/certs': None, 'src/data/autodiscovery': None, 'src/data/esctf': None, 'src/data/mach_ports': None, 'src/data/memory_test': None, 'src/data/mozilla_js_tests': None, 'src/data/page_cycler': None, 'src/data/selenium_core': None, 'src/data/tab_switching': None, 'src/tools/grit/grit/test/data': None, 'src/webkit/data/bmp_decoder': None, 'src/webkit/data/ico_decoder': None, 'src/webkit/data/test_shell/plugins': None, 'src/webkit/data/xbm_decoder': None}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src-internal', 'url': 'svn://svn-mirror.golo.chromium.org/chrome-internal/trunk/src-internal'}]\ntarget_os = ['ios']", |
+ "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'}, {'custom_deps': {'src/chrome/test/data/firefox2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchplugins': None, 'src/chrome/test/data/firefox3_profile/searchplugins': None, 'src/chrome/test/data/firefox3_searchplugins': None, 'src/chrome/test/data/osdd': None, 'src/chrome/test/data/perf/frame_rate/private': None, 'src/chrome/test/data/plugin': None, 'src/chrome/test/data/ssl/certs': None, 'src/data/autodiscovery': None, 'src/data/esctf': None, 'src/data/mach_ports': None, 'src/data/memory_test': None, 'src/data/mozilla_js_tests': None, 'src/data/page_cycler': None, 'src/data/selenium_core': None, 'src/data/tab_switching': None, 'src/tools/grit/grit/test/data': None, 'src/webkit/data/bmp_decoder': None, 'src/webkit/data/ico_decoder': None, 'src/webkit/data/test_shell/plugins': None, 'src/webkit/data/xbm_decoder': None}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src-internal', 'url': 'svn://svn-mirror.golo.chromium.org/chrome-internal/trunk/src-internal'}]\ntarget_os = ['ios']", |
"--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]", |
"--patch_url", |
"patch url", |
"--rietveld_server", |
@@ -51,6 +52,7 @@ |
"--force", |
"--output_manifest" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -127,9 +129,10 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[CWD]/src/ios/build/bots/tryserver.fake/ios.json", |
+ "[SLAVE_BUILD]/src/ios/build/bots/tryserver.fake/ios.json", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "read build config", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |
@@ -161,6 +164,7 @@ |
"-e", |
"{\n \"GYP_DEFINES\": [], \n \"additional_compile_targets\": [\n \"All\"\n ], \n \"compiler\": \"ninja\", \n \"configuration\": \"Debug\", \n \"env\": {}, \n \"gn_args\": [\n \"target_os=\\\"ios\\\"\", \n \"ios_enable_code_signing=false\", \n \"use_goma=true\"\n ], \n \"mb_type\": \"gn\", \n \"sdk\": \"iphonesimulator8.0\", \n \"tests\": [\n {\n \"app\": \"fake tests\", \n \"device type\": \"fake device\", \n \"os\": \"8.1\"\n }\n ], \n \"triggered bots\": {}, \n \"use_analyze\": true, \n \"xcode version\": \"fake xcode version\"\n}" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "finalize build config" |
}, |
{ |
@@ -171,6 +175,7 @@ |
"--version", |
"fake xcode version" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "find xcode", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{}@@@", |
@@ -184,6 +189,7 @@ |
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
"runhooks" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"GYP_CHROMIUM_NO_ACTION": "1", |
"GYP_CROSSCOMPILE": "1", |
@@ -199,6 +205,7 @@ |
}, |
{ |
"cmd": [], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "ensure_goma" |
}, |
{ |
@@ -209,16 +216,17 @@ |
"--platform", |
"mac-amd64", |
"--dest-directory", |
- "[CWD]/cipd", |
+ "[SLAVE_BUILD]/cipd", |
"--json-output", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "ensure_goma.install cipd", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@1@@@", |
"@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@", |
"@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"executable\": \"fake_slave_build/cipd\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\", @@@", |
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@", |
"@@@STEP_LOG_LINE@json.output@}@@@", |
"@@@STEP_LOG_END@json.output@@@" |
@@ -226,10 +234,10 @@ |
}, |
{ |
"cmd": [ |
- "fake_slave_build/cipd", |
+ "[SLAVE_BUILD]/cipd/cipd", |
"ensure", |
"--root", |
- "[ROOT]/b/build/slave/cache/cipd/goma", |
+ "[CACHE]/cipd/goma", |
"--list", |
"infra_internal/goma/client/mac-amd64 release", |
"--json-output", |
@@ -237,6 +245,7 @@ |
"--service-account-json", |
"/creds/service_accounts/service-account-goma-client.json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "ensure_goma.ensure_installed", |
"~followup_annotations": [ |
"@@@STEP_NEST_LEVEL@1@@@", |
@@ -255,18 +264,19 @@ |
"cmd": [ |
"python", |
"-u", |
- "[CWD]/src/tools/mb/mb.py", |
+ "[SLAVE_BUILD]/src/tools/mb/mb.py", |
"gen", |
"-m", |
"tryserver.fake", |
"-b", |
"ios", |
"--config-file", |
- "[CWD]/src/tools/mb/mb_config.pyl", |
+ "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", |
"--goma-dir", |
- "[ROOT]/b/build/slave/cache/cipd/goma", |
+ "[CACHE]/cipd/goma", |
"//out/Debug-iphonesimulator" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "generate_build_files (with patch)" |
}, |
{ |
@@ -276,7 +286,7 @@ |
"--cached", |
"--name-only" |
], |
- "cwd": "[CWD]/src", |
+ "cwd": "[SLAVE_BUILD]/src", |
"name": "git diff to analyze patch", |
"stdout": "/path/to/tmp/", |
"~followup_annotations": [ |
@@ -289,9 +299,10 @@ |
"python", |
"-u", |
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
- "[CWD]/src/testing/buildbot/trybot_analyze_config.json", |
+ "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "read filter exclusion spec", |
"~followup_annotations": [ |
"@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@", |
@@ -317,6 +328,7 @@ |
"-u", |
"import sys; sys.exit(0)" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "analyze", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@excluded_files@foo.cc (regex = 'f.*')@@@", |
@@ -351,10 +363,11 @@ |
"-u", |
"RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", |
"--src-dir", |
- "[CWD]/src", |
+ "[SLAVE_BUILD]/src", |
"--output-json", |
"/path/to/tmp/json" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
}, |
@@ -381,9 +394,9 @@ |
"--target", |
"Debug-iphonesimulator", |
"--src-dir", |
- "[CWD]/src", |
+ "[SLAVE_BUILD]/src", |
"--goma-cache-dir", |
- "[ROOT]/b/build/slave/goma_cache", |
+ "[GOMA_CACHE]", |
"--build-tool", |
"ninja", |
"--compiler", |
@@ -393,14 +406,14 @@ |
"--goma-service-account-json-file", |
"/creds/service_accounts/service-account-goma-client.json", |
"--goma-dir", |
- "[ROOT]/b/build/goma", |
+ "[BUILD]/goma", |
"--goma-fail-fast", |
"--goma-disable-local-fallback", |
"--", |
"All", |
"fake tests" |
], |
- "cwd": "[CWD]/src/out/Debug-iphonesimulator", |
+ "cwd": "[SLAVE_BUILD]/src/out/Debug-iphonesimulator", |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
}, |
@@ -414,16 +427,17 @@ |
"cmd": [ |
"RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/run.py", |
"--app", |
- "[CWD]/src/out/Debug-iphonesimulator/fake tests.app", |
+ "[SLAVE_BUILD]/src/out/Debug-iphonesimulator/fake tests.app", |
"--json_file", |
"/path/to/tmp/json", |
"--iossim", |
- "[CWD]/src/out/Debug-iphonesimulator/iossim", |
+ "[SLAVE_BUILD]/src/out/Debug-iphonesimulator/iossim", |
"--platform", |
"fake device", |
"--version", |
"8.1" |
], |
+ "cwd": "[SLAVE_BUILD]", |
"name": "fake tests (fake device iOS 8.1)", |
"~followup_annotations": [ |
"@@@STEP_LOG_LINE@json.output@{@@@", |