| Index: scripts/slave/recipes/android/perf.expected/provision_devices.json
|
| diff --git a/scripts/slave/recipes/android/perf.expected/provision_devices.json b/scripts/slave/recipes/android/perf.expected/provision_devices.json
|
| index 3b94d724ae8f7908e70387a26d1f5cbe125203a6..960b0f63bdad86b97d232b012fc77b7af4c69c69 100644
|
| --- a/scripts/slave/recipes/android/perf.expected/provision_devices.json
|
| +++ b/scripts/slave/recipes/android/perf.expected/provision_devices.json
|
| @@ -64,6 +64,42 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| + "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| + "[SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "name": "read test spec",
|
| + "~followup_annotations": [
|
| + "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.perf.json@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
|
| + "--output",
|
| + "/path/to/tmp/json",
|
| + "--",
|
| + "--build-config-fs",
|
| + "Release",
|
| + "--paths",
|
| + "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}",
|
| + "--properties",
|
| + "{\"buildername\": \"Android Nexus5 Perf\", \"buildnumber\": 571, \"mastername\": \"chromium.perf\", \"perf-id\": \"android-nexus5\", \"results-url\": \"https://chromeperf.appspot.com\", \"slavename\": \"slavename\", \"target_platform\": \"android\"}"
|
| + ],
|
| + "name": "get compile targets for scripts",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output@{}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfor base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endswith('.pyc'):\n os.remove(os.path.join(base, f))\n",
|
| "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
|
| "[SLAVE_BUILD]/src/out/Release/test_logs",
|
|
|