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

Side by Side Diff: telemetry/refactor

Issue 1736633004: Update adb_profile_chrome path in Telemetry (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | telemetry/telemetry/internal/platform/profiler/android_systrace_profiler.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /usr/bin/env python 1 #! /usr/bin/env python
2 # Copyright 2015 The Chromium Authors. All rights reserved. 2 # Copyright 2015 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import cStringIO 6 import cStringIO
7 import functools 7 import functools
8 import imp 8 import imp
9 import inspect 9 import inspect
10 import itertools 10 import itertools
(...skipping 11 matching lines...) Expand all
22 from telemetry.internal.util import command_line 22 from telemetry.internal.util import command_line
23 from telemetry.internal.util import path 23 from telemetry.internal.util import path
24 24
25 25
26 _RELATIVE_BASE_DIRS = ( 26 _RELATIVE_BASE_DIRS = (
27 ('chrome', 'test', 'telemetry'), 27 ('chrome', 'test', 'telemetry'),
28 ('content', 'test', 'gpu'), 28 ('content', 'test', 'gpu'),
29 ('tools', 'bisect-manual-test.py'), 29 ('tools', 'bisect-manual-test.py'),
30 ('tools', 'chrome_proxy'), 30 ('tools', 'chrome_proxy'),
31 ('tools', 'perf'), 31 ('tools', 'perf'),
32 ('tools', 'profile_chrome', 'perf_controller.py'),
Zhen Wang 2016/02/24 23:58:00 Ned, is this still needed?
nednguyen 2016/02/25 00:00:22 You can just ignore the refactor
33 ('tools', 'run-bisect-manual-test.py'), 32 ('tools', 'run-bisect-manual-test.py'),
34 ('third_party', 'skia', 'tools', 'skp', 'page_sets'), 33 ('third_party', 'skia', 'tools', 'skp', 'page_sets'),
35 ('third_party', 'trace-viewer'), 34 ('third_party', 'trace-viewer'),
36 ) 35 )
37 # All folders dependent on Telemetry, found using a code search. 36 # All folders dependent on Telemetry, found using a code search.
38 # Note that this is not the same as the directory that imports are relative to. 37 # Note that this is not the same as the directory that imports are relative to.
39 BASE_DIRS = [path.GetTelemetryDir()] + [ 38 BASE_DIRS = [path.GetTelemetryDir()] + [
40 os.path.join(path.GetChromiumSrcDir(), *dir_path) 39 os.path.join(path.GetChromiumSrcDir(), *dir_path)
41 for dir_path in _RELATIVE_BASE_DIRS] 40 for dir_path in _RELATIVE_BASE_DIRS]
42 41
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 SortImportGroups(module_path) 258 SortImportGroups(module_path)
260 return 0 259 return 0
261 260
262 261
263 class RefactorCommand(command_line.SubcommandCommand): 262 class RefactorCommand(command_line.SubcommandCommand):
264 commands = (Count, Mv, Sort,) 263 commands = (Count, Mv, Sort,)
265 264
266 265
267 if __name__ == '__main__': 266 if __name__ == '__main__':
268 sys.exit(RefactorCommand.main()) 267 sys.exit(RefactorCommand.main())
OLDNEW
« no previous file with comments | « no previous file | telemetry/telemetry/internal/platform/profiler/android_systrace_profiler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698