aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-08-10 16:12:30 -0700
committerDan Willemsen <dwillemsen@google.com>2016-08-11 01:30:16 -0700
commit47ec28f3b131d29c5ec5da3432c1a8ad51b15fb8 (patch)
tree293a33c54d86a2e322cb96734a52fe53fa446651 /cmd
parent017d8937fa4536eafa306e99bf83c01d9f3d263e (diff)
downloadbuild_soong-47ec28f3b131d29c5ec5da3432c1a8ad51b15fb8.tar.gz
build_soong-47ec28f3b131d29c5ec5da3432c1a8ad51b15fb8.tar.bz2
build_soong-47ec28f3b131d29c5ec5da3432c1a8ad51b15fb8.zip
Rename soong_jar to soong_zip
This is a general purpose tool that happens to contain some jar specific features. Change-Id: I05f4654d4517c245ad7a3c15492e0d2368bbf64f
Diffstat (limited to 'cmd')
-rw-r--r--cmd/soong_zip/rate_limit.go (renamed from cmd/soong_jar/rate_limit.go)0
-rw-r--r--cmd/soong_zip/soong_zip.go (renamed from cmd/soong_jar/soong_jar.go)10
2 files changed, 5 insertions, 5 deletions
diff --git a/cmd/soong_jar/rate_limit.go b/cmd/soong_zip/rate_limit.go
index 9e95bc14..9e95bc14 100644
--- a/cmd/soong_jar/rate_limit.go
+++ b/cmd/soong_zip/rate_limit.go
diff --git a/cmd/soong_jar/soong_jar.go b/cmd/soong_zip/soong_zip.go
index bca0dba9..b0f3daaf 100644
--- a/cmd/soong_jar/soong_jar.go
+++ b/cmd/soong_zip/soong_zip.go
@@ -77,9 +77,9 @@ func (l *fileArgs) Get() interface{} {
}
var (
- out = flag.String("o", "", "file to write jar file to")
- manifest = flag.String("m", "", "input manifest file name")
- directories = flag.Bool("d", false, "include directories in jar")
+ out = flag.String("o", "", "file to write zip file to")
+ manifest = flag.String("m", "", "input jar manifest file name")
+ directories = flag.Bool("d", false, "include directories in zip")
relativeRoot = flag.String("C", "", "path to use as relative root of files in next -f or -l argument")
parallelJobs = flag.Int("j", runtime.NumCPU(), "number of parallel threads to use")
compLevel = flag.Int("L", 5, "deflate compression level (0-9)")
@@ -92,11 +92,11 @@ var (
func init() {
flag.Var(&listFiles, "l", "file containing list of .class files")
- flag.Var(&files, "f", "file to include in jar")
+ flag.Var(&files, "f", "file to include in zip")
}
func usage() {
- fmt.Fprintf(os.Stderr, "usage: soong_jar -o jarfile [-m manifest] -C dir [-f|-l file]...\n")
+ fmt.Fprintf(os.Stderr, "usage: soong_zip -o zipfile [-m manifest] -C dir [-f|-l file]...\n")
flag.PrintDefaults()
os.Exit(2)
}