platform_build_soong/zip
Colin Cross 1d98ee23a3 soong_zip: support globs in -f and -D arguments
-f and -D arguments can now take globs in the Soong format.

Also update the use of soong_zip that jars resources to escape the
globs in the arguments, and then shell-escape them when writing to
the rsp file so the glob escape are not intepreted by ReadRespFile.

Also remove an unused argument to the buildAAR rule that could
have contained values that needed escaping.

Relands I7f20bb169dc01f952d2a7681ec6ee9c05737ed37 with a fix for
trailing "\n" in list files, which causes a call to pathtools.Glob("")
that returns "./", which could then get incorrectly translated to
"../../../" in the zip file. Also adds tests.

Test: m checkbuild
Test: zip_test.go
Change-Id: I54b8eef9231875e6042a32c9f8bcc5c2f779922a
2018-09-28 14:01:29 -07:00
..
cmd soong_zip: Add tests 2018-09-28 13:56:06 -07:00
Android.bp Add Respfile support for soong_zip. 2018-02-13 15:13:01 -08:00
rate_limit.go split soong_zip into a library and a binary 2017-10-19 18:18:04 +00:00
zip.go soong_zip: support globs in -f and -D arguments 2018-09-28 14:01:29 -07:00
zip_test.go soong_zip: support globs in -f and -D arguments 2018-09-28 14:01:29 -07:00