gpu: make gl_tests run on Ozone

gl_tests can't currently be run on ChromeOS devices since is missing
Ozone initialization.

This patch fixes that.
It can now be run on Chromebooks (with some failing tests).

Change-Id: I713633ccfc4b830ad99baf3566a3502205cde172
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1722972
Reviewed-by: Jonathan Backer <[email protected]>
Commit-Queue: Daniele Castagna <[email protected]>
Cr-Commit-Position: refs/heads/master@{#681858}
diff --git a/gpu/BUILD.gn b/gpu/BUILD.gn
index a2b2219..cae40c13 100644
--- a/gpu/BUILD.gn
+++ b/gpu/BUILD.gn
@@ -374,6 +374,10 @@
     "//ui/gl/init",
   ]
 
+  if (use_ozone) {
+    deps += [ "//ui/ozone" ]
+  }
+
   if (use_dawn) {
     deps += [ "//third_party/dawn/src/dawn:libdawn" ]
   }