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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 """Generators for Chrome profiles for testing purposes.""" 4 """Generators for Chrome profiles for testing purposes."""
5 import os
6 import sys
7
8 chromium_src_path = os.path.realpath(os.path.join(
erikchen 2016/01/08 00:33:29 This looks like duplicated code. Is there a reason
aiolos (Not reviewing) 2016/01/08 19:01:16 Nope, good call.
9 os.path.abspath(__file__), '..', '..', '..', '..'))
10
11 telemetry_path = os.path.join(chromium_src_path, 'tools', 'telemetry')
12 if telemetry_path not in sys.path:
13 sys.path.insert(1, telemetry_path)
14
15 catapult_base_path = os.path.join(
16 chromium_src_path, 'third_party', 'catapult', 'catapult_base')
17 if catapult_base_path not in sys.path:
18 sys.path.insert(1, catapult_base_path)
OLDNEW
« no previous file with comments | « tools/perf/fetch_benchmark_deps.py ('k') | tools/perf/profile_creators/update_remote_extensions.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698