commit | 7aec44bd64cbe95c0bd3ad6accce03aea95ea592 | [log] [tgz] |
---|---|---|
author | Daniele Castagna <[email protected]> | Mon Jul 29 17:16:10 2019 |
committer | Commit Bot <[email protected]> | Mon Jul 29 17:16:10 2019 |
tree | 5b714ce358c65e33ad2bf51ea9a68721f8e0c51c | |
parent | 1d340590dc8b4b5b07b53b95a9c61c7396abf0cd [diff] [blame] |
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" ] }