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" ] |
} |