Root DFM R file extends base module R file

Changed package names for DFMs and the base module to be more
consistent. Consistent naming makes life easier and this change
allows us to get rid of resource_rewriters for webview.

Example: gen.base, or gen.vr. DFM root R java files
extending base R java files allows for references to base module
resources through feature's resource class (see crbug.com/948234).

As a result, resource_rewriters was removed and in
WebViewChromiumAwInit org.chromium.android_webview.R is imported.
The onResourcesLoaded call in webview now fixes up package IDs for
all resources, not just webview's.

Due to DFMs extending base module resources, an overly broad proguard
rule in ar core was found which caused base module resources to be
kept. A change was submitted for ar core cr/251682834 which changes
this rule and will be available in ar core versions >= 1.11. Thus,
an instance with the change of the rule is used for ar core until
then.

Bug:966856,948234

Change-Id: I08be2a114206e8624518770447dce4c3eba34c7e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1638286
Commit-Queue: Sam Maier <smaier@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Reviewed-by: Sam Maier <smaier@chromium.org>
Reviewed-by: Eric Stevenson <estevenson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#668800}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 212f516e112565c703f9ae7f206f58be5ebbb3e2
1 file changed