diff options
Diffstat (limited to 'build/android/method_count.py')
-rwxr-xr-x | build/android/method_count.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build/android/method_count.py b/build/android/method_count.py index f2feb6f..c816f10 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: |