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

Unified Diff: tools/telemetry/telemetry/internal/util/binary_manager.py

Issue 1416703003: [Android] Add a configurable environment for devil/. (RELAND 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 | « tools/telemetry/telemetry/internal/platform/android_device_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/internal/util/binary_manager.py
diff --git a/tools/telemetry/telemetry/internal/util/binary_manager.py b/tools/telemetry/telemetry/internal/util/binary_manager.py
index e277b7041ee1b328b80518971605a7c41cb4ddca..fb896156be2a1f466313927b4f3dfa71e2cb197f 100644
--- a/tools/telemetry/telemetry/internal/util/binary_manager.py
+++ b/tools/telemetry/telemetry/internal/util/binary_manager.py
@@ -10,6 +10,7 @@ import os
from catapult_base import dependency_manager
from telemetry.core import exceptions
from telemetry.core import util
+from devil import devil_env
TELEMETRY_PROJECT_CONFIG = os.path.join(
@@ -34,6 +35,8 @@ def InitDependencyManager(environment_config):
configs.insert(0, dependency_manager.BaseConfig(environment_config))
_dependency_manager = dependency_manager.DependencyManager(configs)
+ devil_env.config.Initialize()
+
def FetchPath(binary_name, arch, platform):
""" Return a path to the appropriate executable for <binary_name>, downloading
« no previous file with comments | « tools/telemetry/telemetry/internal/platform/android_device_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698