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

Unified Diff: build/android/devil/android/sdk/dexdump.py

Issue 1316413003: [Android] Add a configurable environment for devil/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 2 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
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 48d810f67c747e6eb0fd18a5c9136e5ca52dc722..c6a084c6bed49e0225bafe7d03dacf81c3204671 100644
--- a/build/android/devil/android/sdk/dexdump.py
+++ b/build/android/devil/android/sdk/dexdump.py
@@ -4,10 +4,11 @@
import os
+from devil import devil_env
from devil.utils import cmd_helper
-from pylib import constants
-_DEXDUMP_PATH = os.path.join(constants.ANDROID_SDK_TOOLS, 'dexdump')
+_DEXDUMP_PATH = os.path.join(
+ devil_env.config.android_sdk_build_tools_path, 'dexdump')
def DexDump(dexfiles, file_summary=False):
"""A wrapper around the Android SDK's dexdump tool.
« no previous file with comments | « build/android/devil/android/sdk/adb_wrapper.py ('k') | build/android/devil/android/sdk/shared_prefs_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698