| Index: scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_Mac_deterministic_build.json
|
| diff --git a/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_Mac_deterministic_build.json b/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_Mac_deterministic_build.json
|
| index b2654036406e4729283859fd5c19f94c21f8048d..3de89e13a5c1615a7117b2be02658d239415a7b6 100644
|
| --- a/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_Mac_deterministic_build.json
|
| +++ b/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_Mac_deterministic_build.json
|
| @@ -69,7 +69,7 @@
|
| "runhooks"
|
| ],
|
| "env": {
|
| - "GYP_DEFINES": "clang=1 component=static_library dont_embed_build_metadata=1 gomadir='[BUILD]/goma' target_arch=ia32 use_goma=1"
|
| + "GYP_DEFINES": "clang=1 component=static_library dont_embed_build_metadata=1 gomadir='[BUILD]/goma' target_arch=ia32 test_isolation_mode=prepare use_goma=1"
|
| },
|
| "name": "gclient runhooks"
|
| },
|
| @@ -111,6 +111,39 @@
|
| "cmd": [
|
| "python",
|
| "-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/",
|
| + "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json"
|
| + ],
|
| + "name": "find isolated targets"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[SLAVE_BUILD]/src/tools/swarming_client/isolate.py",
|
| + "batcharchive",
|
| + "--dump-json",
|
| + "/path/to/tmp/json",
|
| + "--isolate-server",
|
| + "https://isolateserver.appspot.com",
|
| + "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json",
|
| + "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json"
|
| + ],
|
| + "name": "isolate tests",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dummy_target_1]\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@",
|
| + "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "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])",
|
| "[SLAVE_BUILD]/src/out/Release",
|
| "[SLAVE_BUILD]/src/out/Release.1"
|
|
|