platform_build_soong/java
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
..
config Add jetifier support in Soong. 2018-08-29 11:37:32 -07:00
aapt2.go Regenerate R.java files from LOCAL_STATIC_ANDROID_LIBRARIES 2018-05-03 14:38:12 -07:00
aar.go Enforce dependencies have right architecture 2018-08-30 16:31:02 +00:00
android_manifest.go Make manifest_fixer.py keep targetSdkVersion high with min_sdk_version 2018-09-10 14:41:56 -07:00
android_resources.go Add support for android_library modules 2018-05-03 14:38:12 -07:00
androidmk.go Export Api-versions.xml generated by Soong 2018-09-19 05:39:46 +00:00
app.go TradeFed: Add "test_config_template" flag in Android.bp 2018-09-26 18:02:55 -07:00
app_builder.go soong_zip: support globs in -f and -D arguments 2018-09-28 14:01:29 -07:00
app_test.go Use manifest merger in Soong 2018-07-11 19:46:38 +00:00
builder.go soong_zip: support globs in -f and -D arguments 2018-09-28 14:01:29 -07:00
dex.go Add dependencies on d8 and r8 library arguments 2018-09-28 15:15:08 +00:00
droiddoc.go Add --proguard option to metalava 2018-09-25 14:10:00 -07:00
gen.go Add proto.canonical_path_from_root 2018-02-22 16:48:35 -08:00
genrule.go Soong: add "java_genrule_host" 2018-04-13 16:37:22 -07:00
jacoco.go Change syntax for jacoco filter wildcard params. 2018-01-29 12:46:26 -08:00
jacoco_test.go Change syntax for jacoco filter wildcard params. 2018-01-29 12:46:26 -08:00
java.go soong_zip: Add tests 2018-09-28 13:56:06 -07:00
java_resources.go soong_zip: support globs in -f and -D arguments 2018-09-28 14:01:29 -07:00
java_test.go Allow exclude_java_resources to affect java_resource_dirs 2018-09-13 18:28:03 +00:00
jdeps.go Collect modules' info to create IDE project file. 2018-09-18 17:44:10 +00:00
jdeps_test.go Collect modules' info to create IDE project file. 2018-09-18 17:44:10 +00:00
prebuilt_apis.go Add api_dirs property and use module name as prefix 2018-06-25 10:30:30 +09:00
proto.go Enforce dependencies have right architecture 2018-08-30 16:31:02 +00:00
sdk_library.go Change the dist file path for sdk library 2018-09-17 09:43:30 +00:00
support_libraries.go Export lists of support libraries modules to Make 2018-05-03 16:48:13 -07:00
system_modules.go Enforce dependencies have right architecture 2018-08-30 16:31:02 +00:00