Look up correct resources in the stub WebView.

When using the stub, the Java resources are actually in the donor
package, not the stub package. We need to look up the package ID for the
donor package when rewriting the R class, otherwise all the resource IDs
will be invalid as they'll be searched for in the stub APK.

BUG=664456

Review-Url: https://codereview.chromium.org/2757303003
Cr-Original-Commit-Position: refs/heads/master@{#458370}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e83d7ebd96302031aef786e271bc94db4aa9490d
1 file changed
tree: ccf872f46197558051be0b153d4bb2867c4fe466
  1. java/
  2. BUILD.gn
  3. generate_resource_rewriter.gni
  4. glue.gni