Supersize: Properly attribute res/ symbols

Create .info files for resources during jinja processing, aapt2
compressing, and aapt2 linking, using these .info files to create a
per-apk *.apk.res.info file that supersize then uses to properly map a
resource file back to its source file.

There is some complexity with resource overloading and android build
tools changing the resource file or directory as part of packaging an
apk. This is handled by a combination of storing renames and parsing
heuristics.

Bug: 827196
Change-Id: Ic8243c218791ec048b1563604d93c7b735fdc71c
Reviewed-on: https://chromium-review.googlesource.com/1014255
Commit-Queue: Peter Wen <wnwen@chromium.org>
Reviewed-by: agrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552081}

CrOS-Libchrome-Original-Commit: da8025abca3ac835c8f59f4622372d4dec02fcae
1 file changed
tree: 4b166403cbbd82f7b2a3adfacba7638b208e167f
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/