Android: Depend on jni_java explicitly

This CL moves jni_java from base_java's public_dep to a regular dep.
This means that targets which only need jni_java do not need to depend
on the entirety of base_java. A future CL will remove base_java from
targets that no longer need it as a result of this CL and this other CL
for build_java:

By using split and then remove, this
CL avoided adding 326 instances of jni_java across 201 files.

Bug: 1038372
Change-Id: Ifd411a923dc834d37e0a4c80daf5797c355c6f52
Auto-Submit: Peter Wen <>
Commit-Queue: Peter Wen <>
Reviewed-by: Mohamed Heikal <>
Owners-Override: Peter Wen <>
Cr-Commit-Position: refs/heads/main@{#997965}
GitOrigin-RevId: 8a196c163b8fa38f4f6d80d7ed27a9d748e6e425
1 file changed
tree: 1f3131febc9dff41ae83cad53461ce541c576174
  1. java/


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