aboutsummaryrefslogtreecommitdiff
path: root/build/lib
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2016-04-20 15:27:35 -0700
committerDan Albert <danalbert@google.com>2016-04-20 16:05:03 -0700
commitddaec8a857695c33b38a7637d9f09089b9a7706e (patch)
tree8abb7a1e44bb5aa5005ceb7b068b9795036ce66e /build/lib
parent0ec971a941b9867fb230e8638dbccf0621657ed0 (diff)
downloadndk-ddaec8a857695c33b38a7637d9f09089b9a7706e.tar.gz
Stop compressing our intermediate packages.
The zips that pass through these two functions are only a part of the modular NDK vaporware. We're compressing the hell out of them even though they are never used. Just store them uncompressed to save time in the build. Before this change: Build: 0:14:16 Packaging: 0:04:41 Testing: 0:15:44 Total: 0:34:43 After this change: Build: 0:13:38 Packaging: 0:04:04 Testing: 0:15:47 Total: 0:33:31 Saves about a minute (the build step is affected by this too since that's the part that creates the zips). Bug: http://b/28214235 Change-Id: I7027aaa38efc78a0bdc4d2418e0f55f03360010b
Diffstat (limited to 'build/lib')
-rw-r--r--build/lib/build_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/lib/build_support.py b/build/lib/build_support.py
index 7c109f56f..6d7beb9f6 100644
--- a/build/lib/build_support.py
+++ b/build/lib/build_support.py
@@ -228,7 +228,7 @@ def make_package(name, directory, out_dir):
try:
subprocess.check_call(
['zip', '-x', '*.pyc', '-x', '*.pyo', '-x', '*.swp',
- '-x', '*.git*', '-9qr', path, basename])
+ '-x', '*.git*', '-0qr', path, basename])
finally:
os.chdir(cwd)