Work on the Android GN build.

Fills out more targets in the Android build.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/297793004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272574 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/BUILD.gn b/BUILD.gn
index 6a9e94d..2e48eb23 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -69,6 +69,7 @@
     "//ui/base:ui_base",
     "//ui/events",
     "//ui/gfx",
+    "//ui/gl",
     "//ui/resources",
     "//ui/strings",
     "//ui/surface",
@@ -85,17 +86,16 @@
   if (is_android) {
     deps -= [
       "//content/public/common",
-      "//gpu/command_buffer/client",  # Needs some JNI stuff:
-      "//gpu/command_buffer/service",
-      "//net",
       "//third_party/libusb",
       #"//third_party/WebKit/Source/platform",
       "//third_party/WebKit/Source/wtf",  # TODO(brettw) re-enable for Android.
       "//tools/gn",
 
-      # ui_base doesn't work yet, and neither do things that depend on it.
-      "//ui/base:ui_base",
-      "//ui/events",
+      # This stuff all depends on ui/surface which requires some .class jni
+      # generators (ui/gl/gl.gyp:surface_jni_headers).
+      "//ui/gl",
+      "//gpu/command_buffer/client",
+      "//gpu/command_buffer/service",
       "//ui/surface",
     ]
   }