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

Unified Diff: tools/run_perf.py

Issue 2113453007: [Android] Switch outdated pylib.* references to equivalent devil.android.* ones. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/run_perf.py
diff --git a/tools/run_perf.py b/tools/run_perf.py
index 2db71d4e24b69a2e230d694cbc6dfa2c05b5d01f..cb1fd011d1fe43634d71b0481ca764aa0dec6463 100755
--- a/tools/run_perf.py
+++ b/tools/run_perf.py
@@ -128,17 +128,20 @@ def LoadAndroidBuildTools(path): # pragma: no cover
assert os.path.exists(path)
sys.path.insert(0, path)
- from pylib.device import adb_wrapper # pylint: disable=F0401
- from pylib.device import device_errors # pylint: disable=F0401
- from pylib.device import device_utils # pylint: disable=F0401
- from pylib.perf import cache_control # pylint: disable=F0401
- from pylib.perf import perf_control # pylint: disable=F0401
+ import devil_chromium
+ from devil.android import device_errors # pylint: disable=import-error
+ from devil.android import device_utils # pylint: disable=import-error
+ from devil.android.sdk import adb_wrapper # pylint: disable=import-error
+ from devil.android.perf import cache_control # pylint: disable=import-error
+ from devil.android.perf import perf_control # pylint: disable=import-error
global adb_wrapper
global cache_control
global device_errors
global device_utils
global perf_control
+ devil_chromium.Initialize()
+
def GeometricMean(values):
"""Returns the geometric mean of a list of values.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698