Remove recycler view deps from base WebView APK

Recycler view is only being used in WebLayer. When experimenting with
WebLayer in a DFM, the recycler view code still gets added to the base
APK since R8 does not (yet) have support for adding proguard rules that
only apply to a DFM instead of globally.

This change removes all recycler view deps from WebView, and splits out
the code from //ui/android that depends on recycler view since most
places that use ui/android don't actually need it.

See go/chrome-webview-isolated-splits for more info.

Bug: 1105096
Change-Id: I808cba5530a4d211361db0beab8ab1e9aa57137f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363873
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Reviewed-by: Ted Choc <tedchoc@chromium.org>
Commit-Queue: Clark DuVall <cduvall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801444}
GitOrigin-RevId: 84739b3d1ce809fc2828b14d9fe3d82147baef16
1 file changed
tree: 2bacf078dcd16558e86831ce7f384850ffc9aa68
  1. java/
  2. BUILD.gn
  3. README.md
README.md

//android_webview/glue/

This folder contains a shim layer between the public frameworks APIs (android.webkit.*) and WebView's implementation, and allows them to (mostly) not directly depend on each other.

Folder Dependencies

//android_webview/java/ must not depend on this directory.

See Also