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

Side by Side Diff: tools/perf/core/path_util.py

Issue 1579743002: [Telemetry] Update telemetry_unittests to use tools/perf/run_telemetry_tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Marc's comments 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
« no previous file with comments | « tools/perf/chrome_telemetry_build/chromium_config.py ('k') | tools/perf/record_wpr » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 4
5 import os 5 import os
6 import sys
7
8 sys.path.insert(1, os.path.join(os.path.abspath(__file__), '..', '..'))
9
10 from chrome_telemetry_build import chromium_config
6 11
7 12
8 def GetChromiumSrcDir(): 13 def GetChromiumSrcDir():
9 return os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname( 14 return chromium_config.GetChromiumSrcDir()
10 os.path.abspath(__file__))))) 15
11 16
12 def GetTelemetryDir(): 17 def GetTelemetryDir():
13 return os.path.join(GetChromiumSrcDir(), 'tools', 'telemetry') 18 return chromium_config.GetTelemetryDir()
19
14 20
15 def GetPerfDir(): 21 def GetPerfDir():
16 return os.path.join(GetChromiumSrcDir(), 'tools', 'perf') 22 return os.path.join(GetChromiumSrcDir(), 'tools', 'perf')
17 23
24
18 def GetPerfStorySetsDir(): 25 def GetPerfStorySetsDir():
19 return os.path.join(GetPerfDir(), 'page_sets') 26 return os.path.join(GetPerfDir(), 'page_sets')
20 27
28
21 def GetPerfBenchmarksDir(): 29 def GetPerfBenchmarksDir():
22 return os.path.join(GetPerfDir(), 'benchmarks') 30 return os.path.join(GetPerfDir(), 'benchmarks')
23
OLDNEW
« no previous file with comments | « tools/perf/chrome_telemetry_build/chromium_config.py ('k') | tools/perf/record_wpr » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698