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

Unified Diff: tools/telemetry/telemetry/components/components_project.py

Issue 169283004: Introduce telemetry.web_components and a simple component-based Results object (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added HTML output, ready for review Created 6 years, 10 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
Index: tools/telemetry/telemetry/components/components_project.py
diff --git a/tools/telemetry/telemetry/components/components_project.py b/tools/telemetry/telemetry/components/components_project.py
new file mode 100644
index 0000000000000000000000000000000000000000..c683a0daf81faec5f5f61ddbb4e3d85f10305a12
--- /dev/null
+++ b/tools/telemetry/telemetry/components/components_project.py
@@ -0,0 +1,22 @@
+# Copyright (c) 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+import os
+
+
+from tvcm import project as project_module
+
+
+class ComponentsProject(project_module.Project):
+ telemetry_path = os.path.abspath(os.path.join(
+ os.path.dirname(__file__),
+ '..', '..'))
tonyg 2014/02/19 16:44:32 Don't we have a util method that helps with this?
+
+ trace_viewer_path = os.path.abspath(os.path.join(
+ telemetry_path,
+ '..', '..',
+ 'third_party', 'trace-viewer'))
tonyg 2014/02/19 16:44:32 and this
+
+ def __init__(self):
+ super(ComponentsProject, self).__init__(
+ [self.telemetry_path])

Powered by Google App Engine
This is Rietveld 408576698