Chromium Code Reviews| Index: tools/telemetry/examples/benchmarks/__init__.py |
| diff --git a/tools/perf/core/__init__.py b/tools/telemetry/examples/benchmarks/__init__.py |
| similarity index 65% |
| copy from tools/perf/core/__init__.py |
| copy to tools/telemetry/examples/benchmarks/__init__.py |
| index e967a354ad271b7d3f82bcd4c21760e1222ae3f1..4f23bd438ad0c8ad198b425f2c713f25093146ce 100644 |
| --- a/tools/perf/core/__init__.py |
| +++ b/tools/telemetry/examples/benchmarks/__init__.py |
| @@ -1,8 +1,7 @@ |
| # Copyright 2015 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 sys |
| - |
| -from core import path_util |
| -sys.path.append(path_util.GetTelemetryDir()) |
| +import os |
| +import sys |
| +sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) |
|
aiolos (Not reviewing)
2015/11/06 18:15:21
Since this is an example, could you include a comm
nednguyen
2015/11/06 18:36:15
Done.
|