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

Unified Diff: tools/perf/chrome_telemetry_build/chromium_config.py

Issue 2573913002: Add devil dependencies config for performance tests.
Patch Set: Call devil_chromium.Initialize(...) from chromium_config module Created 4 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/perf/chrome_telemetry_build/binary_dependencies.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/chrome_telemetry_build/chromium_config.py
diff --git a/tools/perf/chrome_telemetry_build/chromium_config.py b/tools/perf/chrome_telemetry_build/chromium_config.py
index a39dca9296f96f752656d81cfc99e676c39044e5..8192795fa3e9ab04a92d32a370275e9b930f2846 100644
--- a/tools/perf/chrome_telemetry_build/chromium_config.py
+++ b/tools/perf/chrome_telemetry_build/chromium_config.py
@@ -21,8 +21,11 @@ CLIENT_CONFIG_PATH = os.path.join(
os.path.dirname(os.path.abspath(__file__)), 'binary_dependencies.json')
sys.path.insert(1, os.path.join(GetTelemetryDir()))
+sys.path.insert(1, os.path.join(GetChromiumSrcDir(), 'build', 'android'))
from telemetry import project_config
+from telemetry.core import util
+import devil_chromium # pylint: disable=import-error
class ChromiumConfig(project_config.ProjectConfig):
@@ -46,3 +49,9 @@ class ChromiumConfig(project_config.ProjectConfig):
super(ChromiumConfig, self).__init__(
top_level_dir=top_level_dir, benchmark_dirs=benchmark_dirs,
client_configs=client_configs, default_chrome_root=default_chrome_root)
+
+ for chromium_out_dir in util.GetBuildDirectories():
+ if os.path.exists(chromium_out_dir):
+ # pylint: disable=undefined-variable
+ devil_chromium.Initialize(output_directory=chromium_out_dir)
nednguyen 2017/01/20 16:02:11 Hmhh, what is this for?
jbudorick 2017/01/20 16:04:54 This tells devil where to find local build product
nednguyen 2017/01/20 16:08:50 It either already be done in https://github.com/ca
+ break
« no previous file with comments | « tools/perf/chrome_telemetry_build/binary_dependencies.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698