Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4041)

Unified Diff: build/android/provision_devices.py

Issue 2022533002: [Android] Add --adb-path option for tombstones.py. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: argparse for tombstones.py and type=os.path.abspath Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/devil_chromium.py ('k') | build/android/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/provision_devices.py
diff --git a/build/android/provision_devices.py b/build/android/provision_devices.py
index 11b28625a9ab0df52f74210cdc37dba0c75b13ca..5a8019f31a973862e7e17fb42db642a7d97ba521 100755
--- a/build/android/provision_devices.py
+++ b/build/android/provision_devices.py
@@ -27,7 +27,6 @@ import time
import _strptime # pylint: disable=unused-import
import devil_chromium
-from devil import devil_env
from devil.android import battery_utils
from devil.android import device_blacklist
from devil.android import device_errors
@@ -545,15 +544,7 @@ def main():
run_tests_helper.SetLogLevel(args.verbose)
- devil_custom_deps = None
- if args.adb_path:
- devil_custom_deps = {
- 'adb': {
- devil_env.GetPlatform(): [args.adb_path],
- },
- }
-
- devil_chromium.Initialize(custom_deps=devil_custom_deps)
+ devil_chromium.Initialize(adb_path=args.adb_path)
try:
return ProvisionDevices(args)
« no previous file with comments | « build/android/devil_chromium.py ('k') | build/android/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698