android: Add android_generated_resources GN template

This CL adds a new GN template to specify a set of Android
resource files generated by another target's action. The
generated files must be stored by the action into a zip
archive, with a layout similar to standard Android res/ folder
(but note that the archive should not have a top-level res/
directory).

+ Update java_strings_grd(), java_strings_grd_prebuilt()
  and jinja_template_resources() to use it.

BUG=846633
R=agrieve@chromium.org, estevenson@chromium.org, jbudorick@chromium.org

Change-Id: Ibb0ec100d0922ac1ec3155f4577f40136f233b0b
Reviewed-on: https://chromium-review.googlesource.com/1104355
Commit-Queue: David Turner <digit@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Reviewed-by: agrieve <agrieve@chromium.org>
Reviewed-by: Eric Stevenson <estevenson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568402}
1 file changed