| Index: scripts/slave/recipes/chromium_trybot.expected/use_v8_patch_on_chromium_trybot.json
 | 
| diff --git a/scripts/slave/recipes/chromium_trybot.expected/use_v8_patch_on_chromium_trybot.json b/scripts/slave/recipes/chromium_trybot.expected/use_v8_patch_on_chromium_trybot.json
 | 
| index 1354118db7bf96e07738bb471526200cc883e8d7..46645b94e581582f0feb21f220e6bd94ba1faa6f 100644
 | 
| --- a/scripts/slave/recipes/chromium_trybot.expected/use_v8_patch_on_chromium_trybot.json
 | 
| +++ b/scripts/slave/recipes/chromium_trybot.expected/use_v8_patch_on_chromium_trybot.json
 | 
| @@ -5,7 +5,6 @@
 | 
|        "-u",
 | 
|        "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "taskkill"
 | 
|    },
 | 
|    {
 | 
| @@ -20,13 +19,13 @@
 | 
|        "--slave",
 | 
|        "TestSlavename",
 | 
|        "--spec",
 | 
| -      "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'}]",
 | 
| +      "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'}]",
 | 
|        "--root",
 | 
|        "src\\v8",
 | 
|        "--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",
 | 
| -      "[GIT_CACHE]",
 | 
| +      "[ROOT]\\b\\build\\slave\\cache_dir",
 | 
|        "--issue",
 | 
|        "12853011",
 | 
|        "--patchset",
 | 
| @@ -41,7 +40,6 @@
 | 
|        "src/v8@HEAD",
 | 
|        "--output_manifest"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "env": {
 | 
|        "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
 | 
|      },
 | 
| @@ -116,7 +114,6 @@
 | 
|    },
 | 
|    {
 | 
|      "cmd": [],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "ensure_goma"
 | 
|    },
 | 
|    {
 | 
| @@ -127,17 +124,16 @@
 | 
|        "--platform",
 | 
|        "windows-amd64",
 | 
|        "--dest-directory",
 | 
| -      "[SLAVE_BUILD]\\cipd",
 | 
| +      "[CWD]\\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\": \"[SLAVE_BUILD]\\\\cipd\\\\cipd\", @@@",
 | 
| +      "@@@STEP_LOG_LINE@json.output@  \"executable\": \"fake_slave_build/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@@@"
 | 
| @@ -145,10 +141,10 @@
 | 
|    },
 | 
|    {
 | 
|      "cmd": [
 | 
| -      "[SLAVE_BUILD]\\cipd\\cipd",
 | 
| +      "fake_slave_build/cipd",
 | 
|        "ensure",
 | 
|        "--root",
 | 
| -      "[CACHE]\\cipd\\goma",
 | 
| +      "[ROOT]\\b\\build\\slave\\cache\\cipd\\goma",
 | 
|        "--list",
 | 
|        "infra_internal/goma/client/windows-amd64 release",
 | 
|        "--json-output",
 | 
| @@ -156,7 +152,6 @@
 | 
|        "--service-account-json",
 | 
|        "C:\\creds\\service_accounts\\service-account-goma-client.json"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "ensure_goma.ensure_installed",
 | 
|      "~followup_annotations": [
 | 
|        "@@@STEP_NEST_LEVEL@1@@@",
 | 
| @@ -175,10 +170,9 @@
 | 
|      "cmd": [
 | 
|        "python",
 | 
|        "-u",
 | 
| -      "[SLAVE_BUILD]\\src\\tools\\swarming_client\\swarming.py",
 | 
| +      "[CWD]\\src\\tools\\swarming_client\\swarming.py",
 | 
|        "--version"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "swarming.py --version",
 | 
|      "stdout": "/path/to/tmp/",
 | 
|      "~followup_annotations": [
 | 
| @@ -192,11 +186,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_CHROMIUM_NO_ACTION": "1",
 | 
| -      "GYP_DEFINES": "archive_gpu_tests=1 chromium_win_pch=0 component=static_library dcheck_always_on=1 fastbuild=1 ffmpeg_branding=Chrome gomadir='[CACHE]\\cipd\\goma' proprietary_codecs=1 target_arch=ia32 test_isolation_mode=prepare use_goma=1",
 | 
| +      "GYP_DEFINES": "archive_gpu_tests=1 chromium_win_pch=0 component=static_library dcheck_always_on=1 fastbuild=1 ffmpeg_branding=Chrome gomadir='[ROOT]\\b\\build\\slave\\cache\\cipd\\goma' proprietary_codecs=1 target_arch=ia32 test_isolation_mode=prepare use_goma=1",
 | 
|        "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
 | 
|      },
 | 
|      "name": "gclient runhooks (with patch)"
 | 
| @@ -205,7 +198,7 @@
 | 
|      "cmd": [
 | 
|        "python",
 | 
|        "-u",
 | 
| -      "[SLAVE_BUILD]\\src\\testing\\scripts\\get_compile_targets.py",
 | 
| +      "[CWD]\\src\\testing\\scripts\\get_compile_targets.py",
 | 
|        "--output",
 | 
|        "/path/to/tmp/json",
 | 
|        "--",
 | 
| @@ -213,11 +206,10 @@
 | 
|        "Release",
 | 
|        "--use-src-side-runtest-py",
 | 
|        "--paths",
 | 
| -      "{\"checkout\": \"[SLAVE_BUILD]\\\\src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\tools\\\\runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\slave\\\\runtest.py\"}",
 | 
| +      "{\"checkout\": \"[CWD]\\\\src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\tools\\\\runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\slave\\\\runtest.py\"}",
 | 
|        "--properties",
 | 
|        "{\"buildername\": \"win_chromium_rel_ng\", \"buildnumber\": 571, \"mastername\": \"tryserver.chromium.win\", \"slavename\": \"TestSlavename\", \"target_platform\": \"win\"}"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "get compile targets for scripts",
 | 
|      "~followup_annotations": [
 | 
|        "@@@STEP_LOG_LINE@json.output@{}@@@",
 | 
| @@ -229,13 +221,12 @@
 | 
|        "python",
 | 
|        "-u",
 | 
|        "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
 | 
| -      "[SLAVE_BUILD]\\src\\testing\\buildbot\\chromium.gpu.json",
 | 
| +      "[CWD]\\src\\testing\\buildbot\\chromium.gpu.json",
 | 
|        "/path/to/tmp/json"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "read test spec",
 | 
|      "~followup_annotations": [
 | 
| -      "@@@STEP_TEXT@path: [SLAVE_BUILD]\\src\\testing\\buildbot\\chromium.gpu.json@@@",
 | 
| +      "@@@STEP_TEXT@path: [CWD]\\src\\testing\\buildbot\\chromium.gpu.json@@@",
 | 
|        "@@@STEP_LOG_LINE@json.output@{}@@@",
 | 
|        "@@@STEP_LOG_END@json.output@@@"
 | 
|      ]
 | 
| @@ -245,13 +236,12 @@
 | 
|        "python",
 | 
|        "-u",
 | 
|        "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
 | 
| -      "[SLAVE_BUILD]\\src\\testing\\buildbot\\chromium.win.json",
 | 
| +      "[CWD]\\src\\testing\\buildbot\\chromium.win.json",
 | 
|        "/path/to/tmp/json"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "read test spec (2)",
 | 
|      "~followup_annotations": [
 | 
| -      "@@@STEP_TEXT@path: [SLAVE_BUILD]\\src\\testing\\buildbot\\chromium.win.json@@@",
 | 
| +      "@@@STEP_TEXT@path: [CWD]\\src\\testing\\buildbot\\chromium.win.json@@@",
 | 
|        "@@@STEP_LOG_LINE@json.output@{}@@@",
 | 
|        "@@@STEP_LOG_END@json.output@@@"
 | 
|      ]
 | 
| @@ -270,7 +260,7 @@
 | 
|        "--cached",
 | 
|        "--name-only"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]\\src\\v8",
 | 
| +    "cwd": "[CWD]\\src\\v8",
 | 
|      "name": "git diff to analyze patch",
 | 
|      "stdout": "/path/to/tmp/",
 | 
|      "~followup_annotations": [
 | 
| @@ -284,10 +274,9 @@
 | 
|        "python",
 | 
|        "-u",
 | 
|        "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
 | 
| -      "[SLAVE_BUILD]\\src\\testing\\buildbot\\trybot_analyze_config.json",
 | 
| +      "[CWD]\\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'@@@",
 | 
| @@ -309,7 +298,7 @@
 | 
|      "cmd": [
 | 
|        "python",
 | 
|        "-u",
 | 
| -      "[SLAVE_BUILD]\\src\\tools\\mb\\mb.py",
 | 
| +      "[CWD]\\src\\tools\\mb\\mb.py",
 | 
|        "analyze",
 | 
|        "-m",
 | 
|        "tryserver.chromium.win",
 | 
| @@ -320,7 +309,6 @@
 | 
|        "{\"additional_compile_targets\": [\"chromium_builder_tests\"], \"files\": [\"v8/foo.cc\"], \"test_targets\": [\"blink_heap_unittests\", \"blink_platform_unittests\", \"mini_installer\", \"webkit_unit_tests\", \"wtf_unittests\"]}",
 | 
|        "/path/to/tmp/json"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "analyze",
 | 
|      "~followup_annotations": [
 | 
|        "@@@STEP_TEXT@No compile necessary@@@",
 | 
| @@ -357,26 +345,24 @@
 | 
|        "python",
 | 
|        "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\cleanup_temp.py"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "cleanup_temp"
 | 
|    },
 | 
|    {
 | 
|      "cmd": [
 | 
|        "python",
 | 
|        "-u",
 | 
| -      "[SLAVE_BUILD]\\src\\tools\\mb\\mb.py",
 | 
| +      "[CWD]\\src\\tools\\mb\\mb.py",
 | 
|        "gen",
 | 
|        "-m",
 | 
|        "tryserver.chromium.win",
 | 
|        "-b",
 | 
|        "win_chromium_rel_ng",
 | 
|        "--config-file",
 | 
| -      "[SLAVE_BUILD]\\src\\tools\\mb\\mb_config.pyl",
 | 
| +      "[CWD]\\src\\tools\\mb\\mb_config.pyl",
 | 
|        "--goma-dir",
 | 
| -      "[CACHE]\\cipd\\goma",
 | 
| +      "[ROOT]\\b\\build\\slave\\cache\\cipd\\goma",
 | 
|        "//out/Release"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "generate_build_files (with patch)"
 | 
|    },
 | 
|    {
 | 
| @@ -394,9 +380,9 @@
 | 
|        "--target",
 | 
|        "Release",
 | 
|        "--src-dir",
 | 
| -      "[SLAVE_BUILD]\\src",
 | 
| +      "[CWD]\\src",
 | 
|        "--goma-cache-dir",
 | 
| -      "[GOMA_CACHE]",
 | 
| +      "[ROOT]\\b\\build\\slave\\goma_cache",
 | 
|        "--build-tool",
 | 
|        "ninja",
 | 
|        "--compiler",
 | 
| @@ -406,14 +392,13 @@
 | 
|        "--goma-service-account-json-file",
 | 
|        "C:\\creds\\service_accounts\\service-account-goma-client.json",
 | 
|        "--goma-dir",
 | 
| -      "[CACHE]\\cipd\\goma",
 | 
| +      "[ROOT]\\b\\build\\slave\\cache\\cipd\\goma",
 | 
|        "--goma-fail-fast",
 | 
|        "--goma-disable-local-fallback",
 | 
|        "--ninja-ensure-up-to-date",
 | 
|        "--",
 | 
|        "blink_tests"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "env": {
 | 
|        "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-account-goma-client.json"
 | 
|      },
 | 
| @@ -429,26 +414,24 @@
 | 
|        "-u",
 | 
|        "import sys; sys.exit(0)"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "mark: before_tests"
 | 
|    },
 | 
|    {
 | 
|      "cmd": [
 | 
|        "python",
 | 
|        "-u",
 | 
| -      "[SLAVE_BUILD]\\src\\testing\\scripts\\webkit_lint.py",
 | 
| +      "[CWD]\\src\\testing\\scripts\\webkit_lint.py",
 | 
|        "--build-config-fs",
 | 
|        "Release",
 | 
|        "--use-src-side-runtest-py",
 | 
|        "--paths",
 | 
| -      "{\"checkout\": \"[SLAVE_BUILD]\\\\src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\tools\\\\runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\slave\\\\runtest.py\"}",
 | 
| +      "{\"checkout\": \"[CWD]\\\\src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\tools\\\\runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\slave\\\\runtest.py\"}",
 | 
|        "--properties",
 | 
|        "{\"buildername\": \"win_chromium_rel_ng\", \"buildnumber\": 571, \"mastername\": \"tryserver.chromium.win\", \"slavename\": \"TestSlavename\", \"target_platform\": \"win\"}",
 | 
|        "run",
 | 
|        "--output",
 | 
|        "/path/to/tmp/json"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "webkit_lint (with patch)",
 | 
|      "~followup_annotations": [
 | 
|        "@@@STEP_LOG_LINE@json.output@{@@@",
 | 
| @@ -462,19 +445,18 @@
 | 
|      "cmd": [
 | 
|        "python",
 | 
|        "-u",
 | 
| -      "[SLAVE_BUILD]\\src\\testing\\scripts\\webkit_python_tests.py",
 | 
| +      "[CWD]\\src\\testing\\scripts\\webkit_python_tests.py",
 | 
|        "--build-config-fs",
 | 
|        "Release",
 | 
|        "--use-src-side-runtest-py",
 | 
|        "--paths",
 | 
| -      "{\"checkout\": \"[SLAVE_BUILD]\\\\src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\tools\\\\runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\slave\\\\runtest.py\"}",
 | 
| +      "{\"checkout\": \"[CWD]\\\\src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\tools\\\\runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]\\\\scripts\\\\slave\\\\runtest.py\"}",
 | 
|        "--properties",
 | 
|        "{\"buildername\": \"win_chromium_rel_ng\", \"buildnumber\": 571, \"mastername\": \"tryserver.chromium.win\", \"slavename\": \"TestSlavename\", \"target_platform\": \"win\"}",
 | 
|        "run",
 | 
|        "--output",
 | 
|        "/path/to/tmp/json"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "webkit_python_tests (with patch)",
 | 
|      "~followup_annotations": [
 | 
|        "@@@STEP_LOG_LINE@json.output@{@@@",
 | 
| @@ -500,13 +482,13 @@
 | 
|        "--slave-name=TestSlavename",
 | 
|        "--build-number=571",
 | 
|        "--run-python-script",
 | 
| -      "[BUILD]\\scripts\\slave\\chromium\\layout_test_wrapper.py",
 | 
| +      "[ROOT]\\b\\build\\scripts\\slave\\chromium\\layout_test_wrapper.py",
 | 
|        "--target",
 | 
|        "Release",
 | 
|        "-o",
 | 
| -      "[SLAVE_BUILD]\\layout-test-results",
 | 
| +      "[CWD]\\layout-test-results",
 | 
|        "--build-dir",
 | 
| -      "[SLAVE_BUILD]\\src\\out",
 | 
| +      "[CWD]\\src\\out",
 | 
|        "--json-test-results",
 | 
|        "/path/to/tmp/json",
 | 
|        "--test-results-server",
 | 
| @@ -518,7 +500,6 @@
 | 
|        "--step-name",
 | 
|        "webkit_tests (with patch)"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "webkit_tests (with patch)",
 | 
|      "~followup_annotations": [
 | 
|        "@@@STEP_TEXT@<br/>Total executed: 9001<br/>@@@"
 | 
| @@ -528,11 +509,11 @@
 | 
|      "cmd": [
 | 
|        "python",
 | 
|        "-u",
 | 
| -      "[BUILD]\\scripts\\slave\\chromium\\archive_layout_test_results.py",
 | 
| +      "[ROOT]\\b\\build\\scripts\\slave\\chromium\\archive_layout_test_results.py",
 | 
|        "--results-dir",
 | 
| -      "[SLAVE_BUILD]\\layout-test-results",
 | 
| +      "[CWD]\\layout-test-results",
 | 
|        "--build-dir",
 | 
| -      "[SLAVE_BUILD]\\src\\out",
 | 
| +      "[CWD]\\src\\out",
 | 
|        "--build-number",
 | 
|        "571",
 | 
|        "--builder-name",
 | 
| @@ -540,7 +521,6 @@
 | 
|        "--gs-bucket",
 | 
|        "gs://chromium-layout-test-archives"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "archive_webkit_tests_results",
 | 
|      "~followup_annotations": [
 | 
|        "@@@STEP_LINK@layout_test_results@https://storage.googleapis.com/chromium-layout-test-archives/win_chromium_rel_ng/571/layout-test-results/results.html@@@",
 | 
| @@ -555,7 +535,6 @@
 | 
|        "--target",
 | 
|        "Release"
 | 
|      ],
 | 
| -    "cwd": "[SLAVE_BUILD]",
 | 
|      "name": "process_dumps"
 | 
|    },
 | 
|    {
 | 
| 
 |