Index: build/android/devil/android/sdk/dexdump.py |
diff --git a/build/android/devil/android/sdk/dexdump.py b/build/android/devil/android/sdk/dexdump.py |
index 5660ecbe4d9b39ec5b85939662682c943f6bb41a..48d810f67c747e6eb0fd18a5c9136e5ca52dc722 100644 |
--- a/build/android/devil/android/sdk/dexdump.py |
+++ b/build/android/devil/android/sdk/dexdump.py |
@@ -2,9 +2,12 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-from devil import devil_env |
+import os |
+ |
from devil.utils import cmd_helper |
+from pylib import constants |
+_DEXDUMP_PATH = os.path.join(constants.ANDROID_SDK_TOOLS, 'dexdump') |
def DexDump(dexfiles, file_summary=False): |
"""A wrapper around the Android SDK's dexdump tool. |
@@ -19,7 +22,7 @@ |
# TODO(jbudorick): Add support for more options as necessary. |
if isinstance(dexfiles, basestring): |
dexfiles = [dexfiles] |
- args = [devil_env.config.FetchPath('dexdump')] + dexfiles |
+ args = [_DEXDUMP_PATH] + dexfiles |
if file_summary: |
args.append('-f') |