Merges process and package resources script

process_resources.py and package_resources.py are currently both required to
create the final apk. They currently communicate using zipfiles. This ends up
having 3-4 zips/unzips during the final build of the same apk in order to
perform modifications. This merger allows all the required processing to be
done before apk creation with no need for zipping. It also simplifies the
process_resources.py script to separate the code that runs during library
builds vs apk builds.

Bug: 782316
Change-Id: I958c1d107d593b0932275d3c4452c2c51c499b55
Reviewed-on: https://chromium-review.googlesource.com/791152
Commit-Queue: Mohamed Heikal <mheikal@chromium.org>
Reviewed-by: agrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#519850}

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