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

Unified Diff: tools/telemetry/telemetry/util/find_dependencies.py

Issue 1089673002: [telemetry] Add in entry points to find_dependencies with no arguments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/util/find_dependencies.py
diff --git a/tools/telemetry/telemetry/util/find_dependencies.py b/tools/telemetry/telemetry/util/find_dependencies.py
index b3dffb1eb8e82ed658aad9f5693274598a6875f5..6d223f336978693c1ca3131e0ffaa1e72f0a58a1 100644
--- a/tools/telemetry/telemetry/util/find_dependencies.py
+++ b/tools/telemetry/telemetry/util/find_dependencies.py
@@ -126,10 +126,14 @@ def FindDependencies(target_paths, options):
dependencies = path_set.PathSet()
- # Including __init__.py will include Telemetry and its dependencies.
- # If the user doesn't pass any arguments, we just have Telemetry.
+ # Including Telemetry's major entry points will (hopefully) include Telemetry
+ # and all its dependencies. If the user doesn't pass any arguments, we just
+ # have Telemetry.
dependencies |= FindPythonDependencies(os.path.realpath(
- os.path.join(path.GetTelemetryDir(), 'telemetry', '__init__.py')))
+ os.path.join(path.GetTelemetryDir(), 'telemetry', 'benchmark_runner.py')))
+ dependencies |= FindPythonDependencies(os.path.realpath(
+ os.path.join(path.GetTelemetryDir(),
+ 'telemetry', 'unittest_util', 'run_tests.py')))
dependencies |= FindBootstrapDependencies(path.GetTelemetryDir())
# Add dependencies.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698