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

Unified Diff: build/android/adb_install_apk.py

Issue 2022533002: [Android] Add --adb-path option for tombstones.py. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | build/android/buildbot/bb_device_status_check.py » ('j') | build/android/tombstones.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/adb_install_apk.py
diff --git a/build/android/adb_install_apk.py b/build/android/adb_install_apk.py
index bc55bf88b456dfe35123647c6739395e470fe3b8..3752a4826751f9f5226a06aa6833fd26ba3c901d 100755
--- a/build/android/adb_install_apk.py
+++ b/build/android/adb_install_apk.py
@@ -13,7 +13,6 @@ import os
import sys
import devil_chromium
-from devil import devil_env
from devil.android import apk_helper
from devil.android import device_blacklist
from devil.android import device_errors
@@ -74,17 +73,9 @@ def main():
run_tests_helper.SetLogLevel(args.verbose)
constants.SetBuildType(args.build_type)
- devil_custom_deps = None
- if args.adb_path:
- devil_custom_deps = {
- 'adb': {
- devil_env.GetPlatform(): [args.adb_path],
- },
- }
-
devil_chromium.Initialize(
output_directory=constants.GetOutDirectory(),
- custom_deps=devil_custom_deps)
+ adb_path=args.adb_path)
apk = args.apk_path or args.apk_name
if not apk.endswith('.apk'):
« no previous file with comments | « no previous file | build/android/buildbot/bb_device_status_check.py » ('j') | build/android/tombstones.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698