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

Unified Diff: tools/perf/profile_creators/__init__.py

Issue 1568103002: Update tools/perf to use cloud_storage from catapult. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Erik comment 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
Index: tools/perf/profile_creators/__init__.py
diff --git a/tools/perf/profile_creators/__init__.py b/tools/perf/profile_creators/__init__.py
index 6220954c33664bdeeb9830915fa4ee1e87db077f..1a1bafe8e7e9f3b7e2513bd6507c5791ad1d43ab 100644
--- a/tools/perf/profile_creators/__init__.py
+++ b/tools/perf/profile_creators/__init__.py
@@ -2,3 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Generators for Chrome profiles for testing purposes."""
+import os
+import sys
+
+sys.path.insert(1, os.path.abspath(os.path.join(
+ __file__, '..', '..')))
+from core import path_util
+
+
+path_util.AddTelemetryToPath()
+path_util.AddCatapultBaseToPath()

Powered by Google App Engine
This is Rietveld 408576698