Index: tools/telemetry/telemetry/internal/backends/mandoline/paths.py |
diff --git a/mojo/tools/mopy/paths.py b/tools/telemetry/telemetry/internal/backends/mandoline/paths.py |
similarity index 90% |
copy from mojo/tools/mopy/paths.py |
copy to tools/telemetry/telemetry/internal/backends/mandoline/paths.py |
index 040b45c267ec860cff4147ffdb22c0080bd481f6..8545b3d22539abc35bd7fef464762092749cde27 100644 |
--- a/mojo/tools/mopy/paths.py |
+++ b/tools/telemetry/telemetry/internal/backends/mandoline/paths.py |
@@ -2,12 +2,17 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+# TODO(yzshen): Once the dep manager is ready, remove this file and use the one |
+# from src/mojo/tools directly. |
+ |
+ |
import os |
from .config import Config |
+from telemetry.core import util |
-SRC_ROOT = os.path.abspath(os.path.join(__file__, '..', '..', '..', '..')) |
+SRC_ROOT = util.GetChromiumSrcDir() |
class Paths(object): |
'''Provides commonly used paths''' |