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

Side by Side Diff: build/android/pylib/__init__.py

Issue 2596443004: [Android] Generate html file for test runner trace instead of json. (Closed)
Patch Set: Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 6 import sys
7 7
8 _DEVIL_PATH = os.path.abspath(os.path.join( 8 _DEVIL_PATH = os.path.abspath(os.path.join(
9 os.path.dirname(__file__), '..', '..', '..', 'third_party', 'catapult', 9 os.path.dirname(__file__), '..', '..', '..', 'third_party', 'catapult',
jbudorick 2016/12/20 17:38:05 We should probably just extract the catapult path
rnephew (Reviews Here) 2016/12/20 17:52:57 Done.
10 'devil')) 10 'devil'))
11 11
12 _PYTRACE_PATH = os.path.abspath(os.path.join( 12 _PYTRACE_PATH = os.path.abspath(os.path.join(
13 os.path.dirname(__file__), '..', '..', '..', 'third_party', 'catapult', 13 os.path.dirname(__file__), '..', '..', '..', 'third_party', 'catapult',
14 'common', 'py_trace_event')) 14 'common', 'py_trace_event'))
15 15
16 _TRACE2HTML_PATH = os.path.abspath(os.path.join(
17 os.path.dirname(__file__), '..', '..', '..', 'third_party', 'catapult',
18 'tracing'))
19
16 if _DEVIL_PATH not in sys.path: 20 if _DEVIL_PATH not in sys.path:
17 sys.path.append(_DEVIL_PATH) 21 sys.path.append(_DEVIL_PATH)
18 22
19 if _PYTRACE_PATH not in sys.path: 23 if _PYTRACE_PATH not in sys.path:
20 sys.path.append(_PYTRACE_PATH) 24 sys.path.append(_PYTRACE_PATH)
25
26 if _TRACE2HTML_PATH not in sys.path:
27 sys.path.append(_TRACE2HTML_PATH)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698