| Index: ui/gl/BUILD.gn
|
| diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn
|
| index 481798ec7952158d245551800b8ae20cf0bd7b6f..e689b37b15216fbaf3ac1c51d7c35fcfbeaa7076 100644
|
| --- a/ui/gl/BUILD.gn
|
| +++ b/ui/gl/BUILD.gn
|
| @@ -3,10 +3,11 @@
|
| # found in the LICENSE file.
|
|
|
| import("//build/config/ui.gni")
|
| +import("//ui/ozone/ozone.gni")
|
| import("//testing/test.gni")
|
|
|
| use_egl = is_win || is_android || is_linux
|
| -use_glx = use_x11
|
| +use_glx = use_x11 || ozone_platform_x11
|
|
|
| if (is_android) {
|
| import("//build/config/android/config.gni")
|
| @@ -196,6 +197,10 @@ component("gl") {
|
| ]
|
|
|
| deps += [ "//ui/ozone" ]
|
| +
|
| + if (ozone_platform_x11) {
|
| + deps += [ "//ui/events/platform/x11" ]
|
| + }
|
| }
|
| if (use_glx) {
|
| sources += [
|
|
|