Revert "Add a --symlinks argument to soong_zip"
This reverts commit d59dab94c4897f504ca7a3a2b227ca6b000bfaa4.
Bug: 112843624
Change-Id: I3d0f1b61e899b162e65c18662f9d27dd794a9a30
diff --git a/zip/cmd/main.go b/zip/cmd/main.go
index c4e1196..f49105a 100644
--- a/zip/cmd/main.go
+++ b/zip/cmd/main.go
@@ -186,8 +186,6 @@
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")
- symlinks := flags.Bool("symlinks", true, "store symbolic links in zip instead of following them")
-
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")
@@ -218,10 +216,9 @@
NumParallelJobs: *parallelJobs,
NonDeflatedFiles: nonDeflatedFiles,
WriteIfChanged: *writeIfChanged,
- StoreSymlinks: *symlinks,
})
if err != nil {
- fmt.Fprintln(os.Stderr, "error:", err.Error())
+ fmt.Fprintln(os.Stderr, err.Error())
os.Exit(1)
}
}