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

Unified Diff: ui/views/BUILD.gn

Issue 703753005: More Windows build fixes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove generated files Created 6 years, 1 month 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/native_theme/native_theme_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/BUILD.gn
diff --git a/ui/views/BUILD.gn b/ui/views/BUILD.gn
index 1ae36a9e69b39c8f934a0f2382a67fd08a3ea145..384ff6b4bd41d07bde28c28a704c759f3328e182 100644
--- a/ui/views/BUILD.gn
+++ b/ui/views/BUILD.gn
@@ -45,6 +45,17 @@ component("views") {
deps += [ "//ui/display/util" ]
}
+ if (is_win) {
+ sources += gypi_values.views_win_sources
+ cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ libs = [ "/imm32.lib", "oleacc.lib" ]
+ ldflags = [ "/DELAYLOAD:user32.dll" ]
+ deps += [
+ "//third_party/iaccessible2",
+ "//third_party/wtl",
+ ]
+ }
+
if (use_ozone) {
deps += [ "//ui/ozone" ]
}
« no previous file with comments | « ui/native_theme/native_theme_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698