diff options
author | Colin Cross <ccross@android.com> | 2018-09-18 16:31:09 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2018-09-18 16:31:09 -0700 |
commit | df3f4c81f3a3ae1a5a39cc07cca7fed0d71b51ee (patch) | |
tree | 3968cb26e146ec028752608ba88e0e6f6d392561 | |
parent | cfbea98a57a8d8fd314a3e2ebc08eb53eab328ef (diff) | |
download | build_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
-rw-r--r-- | zip/cmd/main.go | 2 |
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") |