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

Unified Diff: tools/profile_chrome/systrace_controller.py

Issue 1578863002: [Android] Convert uses of cmd_helper in tools/ to devil. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« build/android/pylib/cmd_helper.py ('K') | « build/android/pylib/cmd_helper.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/profile_chrome/systrace_controller.py
diff --git a/tools/profile_chrome/systrace_controller.py b/tools/profile_chrome/systrace_controller.py
index cb0f97a208968f0bed33d5fab2c519aea6a2db4c..45a0fbd7efe7208663dce1d520b1ae7d0eb983c3 100644
--- a/tools/profile_chrome/systrace_controller.py
+++ b/tools/profile_chrome/systrace_controller.py
@@ -8,7 +8,10 @@ import zlib
from profile_chrome import controllers
from profile_chrome import util
-from pylib import cmd_helper
+from pylib.constants import host_paths
+
+with host_paths.SysPath(host_paths.DEVIL_PATH):
+ from devil.utils import cmd_helper
_SYSTRACE_OPTIONS = [
« build/android/pylib/cmd_helper.py ('K') | « build/android/pylib/cmd_helper.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698