| 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)
|
|
|