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

Unified Diff: tools/telemetry/catapult_base/__init__.py

Issue 1599413006: Remove catapult_base from telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@perf_cb_move
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | tools/telemetry/catapult_base/bin/run_tests » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/catapult_base/__init__.py
diff --git a/tools/telemetry/catapult_base/__init__.py b/tools/telemetry/catapult_base/__init__.py
deleted file mode 100644
index 653dd32922af820f43a9c31378fe3dfa3800cb6c..0000000000000000000000000000000000000000
--- a/tools/telemetry/catapult_base/__init__.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# 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.
-
-# All files in this directory should be moved to catapult/base/ after moving
-# to the new repo.
-
-import os
-import sys
-
-from catapult_base import util
-
-def _AddDirToPythonPath(*path_parts):
- path = os.path.abspath(os.path.join(*path_parts))
- if os.path.isdir(path) and path not in sys.path:
- # Some callsite that use telemetry assumes that sys.path[0] is the directory
- # containing the script, so we add these extra paths to right after it.
- sys.path.insert(1, path)
-
-_AddDirToPythonPath(os.path.join(util.GetCatapultDir(), 'third_party', 'mock'))
-_AddDirToPythonPath(os.path.join(util.GetCatapultDir(), 'third_party', 'mox3'))
-_AddDirToPythonPath(
- os.path.join(util.GetCatapultDir(), 'third_party', 'pyfakefs'))
« no previous file with comments | « no previous file | tools/telemetry/catapult_base/bin/run_tests » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698