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

Unified Diff: tools/telemetry/telemetry/internal/backends/mandoline/paths.py

Issue 1252253003: Support Telemetry tests on Android Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@7_android_tele
Patch Set: Created 5 years, 4 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/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'''

Powered by Google App Engine
This is Rietveld 408576698