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

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

Issue 2593903002: [android] Use contextlib_ext.Optional for conditional context managers. (Closed)
Patch Set: rebase 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 c8a26de4c39ae3611b992d76ce2f347f7c40a313..b93eb4fe0be1f46a8bdf1cb708fbe0d24ed7c91a 100644
--- a/build/android/pylib/__init__.py
+++ b/build/android/pylib/__init__.py
@@ -13,13 +13,19 @@ _DEVIL_PATH = os.path.join(_CATAPULT_PATH, 'devil')
_PYTRACE_PATH = os.path.join(_CATAPULT_PATH, 'common', 'py_trace_event')
+_PY_UTILS_PATH = os.path.join(_CATAPULT_PATH, 'common', 'py_utils')
+
_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 _PY_UTILS_PATH not in sys.path:
+ sys.path.append(_PY_UTILS_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