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

Unified Diff: build/android/pylib/__init__.py

Issue 2596443004: [Android] Generate html file for test runner trace instead of json. (Closed)
Patch Set: agrieves comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/PRESUBMIT.py ('k') | build/android/pylib/local/device/local_device_perf_test_run.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/__init__.py
diff --git a/build/android/pylib/__init__.py b/build/android/pylib/__init__.py
index 5dc2d761da51bbd0959d8aa8d26775b0907dbb09..c8a26de4c39ae3611b992d76ce2f347f7c40a313 100644
--- a/build/android/pylib/__init__.py
+++ b/build/android/pylib/__init__.py
@@ -5,16 +5,21 @@
import os
import sys
-_DEVIL_PATH = os.path.abspath(os.path.join(
- os.path.dirname(__file__), '..', '..', '..', 'third_party', 'catapult',
- 'devil'))
-_PYTRACE_PATH = os.path.abspath(os.path.join(
- os.path.dirname(__file__), '..', '..', '..', 'third_party', 'catapult',
- 'common', 'py_trace_event'))
+_CATAPULT_PATH = os.path.abspath(os.path.join(
+ os.path.dirname(__file__), '..', '..', '..', 'third_party', 'catapult'))
+
+_DEVIL_PATH = os.path.join(_CATAPULT_PATH, 'devil')
+
+_PYTRACE_PATH = os.path.join(_CATAPULT_PATH, 'common', 'py_trace_event')
+
+_TRACE2HTML_PATH = os.path.join(_CATAPULT_PATH, 'tracing')
if _DEVIL_PATH not in sys.path:
sys.path.append(_DEVIL_PATH)
if _PYTRACE_PATH not in sys.path:
sys.path.append(_PYTRACE_PATH)
+
+if _TRACE2HTML_PATH not in sys.path:
+ sys.path.append(_TRACE2HTML_PATH)
« no previous file with comments | « build/android/PRESUBMIT.py ('k') | build/android/pylib/local/device/local_device_perf_test_run.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698