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

Unified Diff: build/android/buildbot/bb_device_status_check.py

Issue 1316413003: [Android] Add a configurable environment for devil/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 2 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/PRESUBMIT.py ('k') | build/android/devil/android/apk_helper.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/buildbot/bb_device_status_check.py
diff --git a/build/android/buildbot/bb_device_status_check.py b/build/android/buildbot/bb_device_status_check.py
index 0a7cfd6c224b91e183e5a763f4bc27b4a90a3f66..22e264fca19a0ac36d0b8d2b53e6c984dc0df995 100755
--- a/build/android/buildbot/bb_device_status_check.py
+++ b/build/android/buildbot/bb_device_status_check.py
@@ -16,6 +16,7 @@ import signal
import sys
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
+from devil import devil_env
from devil.android import battery_utils
from devil.android import device_blacklist
from devil.android import device_errors
@@ -287,6 +288,8 @@ def main():
run_tests_helper.SetLogLevel(args.verbose)
+ devil_env.config.Initialize()
+
blacklist = (device_blacklist.Blacklist(args.blacklist_file)
if args.blacklist_file
else None)
« no previous file with comments | « build/android/PRESUBMIT.py ('k') | build/android/devil/android/apk_helper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698