Chromium Code Reviews| 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]) |