Index: ui/gl/init/BUILD.gn |
diff --git a/ui/gl/init/BUILD.gn b/ui/gl/init/BUILD.gn |
index 074e7b1d377284f5d0236ac225d740edbda01e9d..f97b44f005e47c31c8cee4ec19e5899616d788fa 100644 |
--- a/ui/gl/init/BUILD.gn |
+++ b/ui/gl/init/BUILD.gn |
@@ -54,7 +54,10 @@ component("init") { |
"gl_initializer_x11.cc", |
] |
- deps += [ "//ui/gfx/x" ] |
+ deps += [ |
+ "//ui/gfx/x", |
+ "//ui/gl:gl_features", |
+ ] |
} else if (use_ozone) { |
sources += [ |
"gl_factory_ozone.cc", |