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

Unified Diff: ui/gfx/BUILD.gn

Issue 235983002: GN Windows build fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
« third_party/libusb/BUILD.gn ('K') | « ui/events/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/BUILD.gn
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
index 206292951c4916d3e0d0e397c2e18aecf3709ee8..5f16febdd89b430fd72673c7704a137fd064296e 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -361,6 +361,17 @@ component("gfx") {
}
if (use_x11) {
configs += [ "//build/config/linux:x11" ]
+ } else {
+ sources -= [
+ "path_x11.cc",
+ "path_x11.h",
+ "x/x11_atom_cache.cc",
+ "x/x11_atom_cache.h",
+ "x/x11_error_tracker.cc",
+ "x/x11_error_tracker.h",
+ "x/x11_types.cc",
+ "x/x11_types.h",
+ ]
}
if (use_pango) {
sources -= [
@@ -368,6 +379,15 @@ component("gfx") {
"render_text_ozone.cc",
]
configs += [ "//build/config/linux:pangocairo" ]
+ } else {
+ sources -= [
+ "pango_util.cc",
+ "pango_util.h",
+ "platform_font_pango.cc",
+ "platform_font_pango.h",
+ "render_text_pango.cc",
+ "render_text_pango.h",
+ ]
}
}
« third_party/libusb/BUILD.gn ('K') | « ui/events/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698