Index: ui/gl/init/BUILD.gn |
diff --git a/ui/gl/init/BUILD.gn b/ui/gl/init/BUILD.gn |
index 6786159fee93d0100d96e7df28c4b3a1fb79e9f8..c7d1e67d2d7cf45be02d362c4f7b7cd174be587f 100644 |
--- a/ui/gl/init/BUILD.gn |
+++ b/ui/gl/init/BUILD.gn |
@@ -39,6 +39,9 @@ component("init") { |
"gl_factory_win.cc", |
"gl_initializer_win.cc", |
] |
+ |
+ libs = [ "dwmapi.lib" ] |
+ ldflags = [ "/DELAYLOAD:dwmapi.dll" ] |
} else if (is_mac) { |
sources += [ |
"gl_factory_mac.cc", |
@@ -51,6 +54,8 @@ component("init") { |
"gl_factory_x11.cc", |
"gl_initializer_x11.cc", |
] |
+ |
+ deps += [ "//ui/gfx/x" ] |
} else if (use_ozone) { |
sources += [ |
"gl_factory_ozone.cc", |