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

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

Issue 1770943003: [Android] Remove chromium version of devil. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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/devil/android/sdk/build_tools.py ('k') | build/android/devil/android/sdk/fastboot.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 992366e84ae4cc8f986a99fc711621823d7348dc..0000000000000000000000000000000000000000
--- a/build/android/devil/android/sdk/dexdump.py
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 2015 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from devil.android.sdk import build_tools
-from devil.utils import cmd_helper
-from devil.utils import lazy
-
-
-_dexdump_path = lazy.WeakConstant(lambda: build_tools.GetPath('dexdump'))
-
-
-def DexDump(dexfiles, file_summary=False):
- """A wrapper around the Android SDK's dexdump tool.
-
- Args:
- dexfiles: The dexfile or list of dex files to dump.
- file_summary: Display summary information from the file header. (-f)
-
- Returns:
- An iterable over the output lines.
- """
- # TODO(jbudorick): Add support for more options as necessary.
- if isinstance(dexfiles, basestring):
- dexfiles = [dexfiles]
- args = [_dexdump_path.read()] + dexfiles
- if file_summary:
- args.append('-f')
-
- return cmd_helper.IterCmdOutputLines(args)
-
« no previous file with comments | « build/android/devil/android/sdk/build_tools.py ('k') | build/android/devil/android/sdk/fastboot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698