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

Unified Diff: build/android/adb_command_line.py

Issue 1509493003: [Android] Fix environment variable handling in devil_env. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: windows-friendly environment initialization Created 5 years 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/PRESUBMIT.py ('k') | build/android/devil/devil_env.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/adb_command_line.py
diff --git a/build/android/adb_command_line.py b/build/android/adb_command_line.py
index fa3a82b26a5a50ea3b2c6543bb232c8274216901..ee2c4f9a912dc464c155d7a95892e1c3c84d3212 100755
--- a/build/android/adb_command_line.py
+++ b/build/android/adb_command_line.py
@@ -8,6 +8,7 @@
import argparse
import sys
+import devil_chromium
from devil.android import device_utils
from devil.android import device_errors
from devil.utils import cmd_helper
@@ -28,6 +29,8 @@ Otherwise: Writes command-line file.
help='Remote path to flags file.')
args, remote_args = parser.parse_known_args()
+ devil_chromium.Initialize()
+
as_root = not args.device_path.startswith('/data/local/tmp/')
if args.device:
« no previous file with comments | « build/android/PRESUBMIT.py ('k') | build/android/devil/devil_env.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698