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

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

Issue 2102443003: Break //ui/gl/ dependency on //ui/ozone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gl_bindings
Patch Set: GYP again. 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
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",

Powered by Google App Engine
This is Rietveld 408576698