Move registration of Java mojo interfaces to the new InterfaceRegistrar.

Previously, Java-implemented mojo interfaces were registered on the C++
InterfaceRegistries via JNI. This CL migrates those registrations to
dedicated Java InterfaceRegistries that C++ code can access via
corresponding InterfaceProviders.

BUG=634568, 637174
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Committed: https://crrev.com/58dcb20da65389d841cd02d9197fb43efb6e8ee2
Review-Url: https://codereview.chromium.org/2214383002
Cr-Original-Commit-Position: refs/heads/master@{#421403}
Cr-Commit-Position: refs/heads/master@{#421711}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index b88117f..bb368cc 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -3475,6 +3475,10 @@
     }
   }
 
+  if (android_java_ui) {
+    deps += [ "//third_party/WebKit/public:android_mojo_bindings" ]
+  }
+
   if (enable_plugin_installation) {
     sources += [
       "plugins/plugin_installer.cc",