Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1410)

Unified Diff: ui/gl/init/BUILD.gn

Issue 2136553002: Remove GetPlatformDefaultEGLNativeDisplay() function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back to original. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_surface_egl_x11.cc ('k') | ui/gl/init/gl_init.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « ui/gl/gl_surface_egl_x11.cc ('k') | ui/gl/init/gl_init.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698