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
diff --git a/ b/
index 16fc109..25a3c58 100644
--- a/
+++ b/
@@ -16,6 +16,7 @@
+    "//base:jni_java",