aboutsummaryrefslogtreecommitdiffstats
path: root/zip/cmd
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2018-09-18 16:31:09 -0700
committerColin Cross <ccross@android.com>2018-09-18 16:31:09 -0700
commitdf3f4c81f3a3ae1a5a39cc07cca7fed0d71b51ee (patch)
tree3968cb26e146ec028752608ba88e0e6f6d392561 /zip/cmd
parentcfbea98a57a8d8fd314a3e2ebc08eb53eab328ef (diff)
downloadbuild_soong-df3f4c81f3a3ae1a5a39cc07cca7fed0d71b51ee.tar.gz
build_soong-df3f4c81f3a3ae1a5a39cc07cca7fed0d71b51ee.tar.bz2
build_soong-df3f4c81f3a3ae1a5a39cc07cca7fed0d71b51ee.zip
soong_zip: move the -j flag to -parallel
The -j flag is going to be repurposed to match --junk-paths in zip. Test: m checkbuild Change-Id: Id3809d6e5e3da375531269f2372eefc565091cc2
Diffstat (limited to 'zip/cmd')
-rw-r--r--zip/cmd/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/zip/cmd/main.go b/zip/cmd/main.go
index 60017aa9..5c6199e8 100644
--- a/zip/cmd/main.go
+++ b/zip/cmd/main.go
@@ -155,11 +155,11 @@ func main() {
directories := flags.Bool("d", false, "include directories in zip")
rootPrefix = flags.String("P", "", "path prefix within the zip at which to place files")
relativeRoot = flags.String("C", "", "path to use as relative root of files in following -f, -l, or -D arguments")
- parallelJobs := flags.Int("j", runtime.NumCPU(), "number of parallel threads to use")
compLevel := flags.Int("L", 5, "deflate compression level (0-9)")
emulateJar := flags.Bool("jar", false, "modify the resultant .zip to emulate the output of 'jar'")
writeIfChanged := flags.Bool("write_if_changed", false, "only update resultant .zip if it has changed")
+ parallelJobs := flags.Int("parallel", runtime.NumCPU(), "number of parallel threads to use")
cpuProfile := flags.String("cpuprofile", "", "write cpu profile to file")
traceFile := flags.String("trace", "", "write trace to file")