summaryrefslogtreecommitdiff
path: root/java/java_resources.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2018-09-18 16:51:43 -0700
committer Colin Cross <ccross@android.com> 2018-09-19 15:40:09 -0700
commitb7c6911dd1e90a36af6ff6b6cd5c1e8f62fd44ae (patch)
treea197eb6de72f1e1a939951584273468c72a8cdae /java/java_resources.go
parentdf3f4c81f3a3ae1a5a39cc07cca7fed0d71b51ee (diff)
soong_zip: add support for -j to junk paths
When -j is specified ignore the path to the source file and just zip it with its filename. -j overrides -C, and -C overrides -j, so -j -f path1 -C dir -f path2 will junk the path for path1, but treat path2 as relative to dir. Remove the filepath.Clean for the FileArgs, it would convert "" to "." sometimes, and everything gets cleaned in zip already for the non-command-line use cases. Test: m checkbuild Change-Id: I7d90572c622ee0c6f35967ff31d067b5312c72eb
Diffstat (limited to 'java/java_resources.go')
0 files changed, 0 insertions, 0 deletions