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