Index: infra/recipes/android/perf.expected/full_chromium_perf_Android_Galaxy_S5_Perf__3_.json |
diff --git a/infra/recipes/android/perf.expected/full_chromium_perf_Android_Galaxy_S5_Perf__3_.json b/infra/recipes/android/perf.expected/full_chromium_perf_Android_Galaxy_S5_Perf__3_.json |
index d433c14796aa8beed7ed8e0868aa1a54a715cb1a..a179a115cceecc2427a3da3f4f83bc957a4d1fdf 100644 |
--- a/infra/recipes/android/perf.expected/full_chromium_perf_Android_Galaxy_S5_Perf__3_.json |
+++ b/infra/recipes/android/perf.expected/full_chromium_perf_Android_Galaxy_S5_Perf__3_.json |
@@ -164,6 +164,24 @@ |
"cmd": [ |
"python", |
"-u", |
+ "\nimport sys\nsys.path.append(sys.argv[1])\nfrom devil import devil_env\ndevil_env.config.Initialize()\ndevil_env.config.PrefetchPaths(dependencies=['adb'])\n", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil" |
+ ], |
+ "name": "initialize devil", |
+ "~followup_annotations": [ |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
+ "@@@STEP_LOG_LINE@python.inline@sys.path.append(sys.argv[1])@@@", |
+ "@@@STEP_LOG_LINE@python.inline@from devil import devil_env@@@", |
+ "@@@STEP_LOG_LINE@python.inline@devil_env.config.Initialize()@@@", |
+ "@@@STEP_LOG_LINE@python.inline@devil_env.config.PrefetchPaths(dependencies=['adb'])@@@", |
+ "@@@STEP_LOG_END@python.inline@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
"RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
"--", |
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
@@ -191,7 +209,7 @@ |
"-u", |
"[SLAVE_BUILD]/src/build/symlink.py", |
"-f", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"~/adb" |
], |
"name": "create adb symlink" |
@@ -202,7 +220,7 @@ |
"--", |
"[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
"[SLAVE_BUILD]/src/out/logcat", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb" |
], |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json", |
@@ -222,7 +240,7 @@ |
"--", |
"[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_monitor.py", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"--blacklist-file", |
"[SLAVE_BUILD]/src/out/bad_devices.json" |
], |
@@ -235,7 +253,7 @@ |
"RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py", |
"--verbose", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb" |
], |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json", |
@@ -251,7 +269,7 @@ |
"--known-devices-file", |
"[HOME]/.android/known_devices.json", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"-v", |
"--enable-usb-reset" |
], |
@@ -267,7 +285,7 @@ |
"-u", |
"[SLAVE_BUILD]/src/build/android/provision_devices.py", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"--blacklist-file", |
"[SLAVE_BUILD]/src/out/bad_devices.json", |
"--output-device-blacklist", |
@@ -299,7 +317,7 @@ |
"--buildbot-path", |
"/home/chrome-bot/.adb_device_info", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"-v", |
"--overwrite-known-devices-files" |
], |
@@ -421,7 +439,7 @@ |
"--blacklist-file", |
"[SLAVE_BUILD]/src/out/bad_devices.json", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"--release" |
], |
"env": { |
@@ -585,7 +603,7 @@ |
"--blacklist-file", |
"[SLAVE_BUILD]/src/out/bad_devices.json", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb" |
], |
"env": { |
"CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
@@ -642,7 +660,7 @@ |
"page_cycler.foo", |
"--verbose", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"--blacklist-file", |
"[SLAVE_BUILD]/src/out/bad_devices.json", |
"--enable-platform-mode" |
@@ -694,7 +712,7 @@ |
"perf_test.foo", |
"--verbose", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"--blacklist-file", |
"[SLAVE_BUILD]/src/out/bad_devices.json", |
"--enable-platform-mode" |