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

Unified Diff: build/android/method_count.py

Issue 1571803002: [Android] Prepare build/android/ for catapult+devil. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@create-device-library-links
Patch Set: rebase 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
« no previous file with comments | « build/android/lint/suppress.py ('k') | build/android/play_services/preprocess.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/method_count.py
diff --git a/build/android/method_count.py b/build/android/method_count.py
index f2feb6f25335a6c3bf19a36f98c28df1c7241c01..c816f10bb0ed4aa09e6ce3010684e38c31dad884 100755
--- a/build/android/method_count.py
+++ b/build/android/method_count.py
@@ -11,10 +11,11 @@ import sys
import tempfile
import zipfile
+import devil_chromium
from devil.android.sdk import dexdump
-from pylib import constants
+from pylib.constants import host_paths
-sys.path.append(os.path.join(constants.DIR_SOURCE_ROOT, 'build', 'util', 'lib',
+sys.path.append(os.path.join(host_paths.DIR_SOURCE_ROOT, 'build', 'util', 'lib',
'common'))
import perf_tests_results_helper # pylint: disable=import-error
@@ -53,6 +54,8 @@ def main():
args = parser.parse_args()
+ devil_chromium.Initialize()
+
if not args.apk_name:
dirname, basename = os.path.split(args.dexfile)
while basename:
« no previous file with comments | « build/android/lint/suppress.py ('k') | build/android/play_services/preprocess.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698