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

Unified Diff: build/android/gyp/util/build_utils.py

Issue 949803002: Deconstructed APK prototyping Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/gyp/rewrite_deconstruct_manifest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/util/build_utils.py
diff --git a/build/android/gyp/util/build_utils.py b/build/android/gyp/util/build_utils.py
index a0cd7c12eee06df60e4539b775af639275f9e830..e1d0ab69e1235aa25386a6be9763cb7f1374cd85 100644
--- a/build/android/gyp/util/build_utils.py
+++ b/build/android/gyp/util/build_utils.py
@@ -200,6 +200,7 @@ def ExtractAll(zip_path, path=None, no_clobber=True, pattern=None):
elif not os.path.exists(path):
MakeDirectory(path)
+ files = None
with zipfile.ZipFile(zip_path) as z:
for name in z.namelist():
if name.endswith('/'):
@@ -216,6 +217,8 @@ def ExtractAll(zip_path, path=None, no_clobber=True, pattern=None):
% (zip_path, name, output_path))
z.extractall(path=path)
+ files = list(set(z.namelist()))
+ return files
def DoZip(inputs, output, base_dir):
« no previous file with comments | « build/android/gyp/rewrite_deconstruct_manifest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698