Index: ui/keyboard/BUILD.gn |
diff --git a/ui/keyboard/BUILD.gn b/ui/keyboard/BUILD.gn |
index 15b8cdfbed4daa6fabd68690ee1228e3d7912718..30e02c87cded02a25baed4bc1fd7a754d2802d9c 100644 |
--- a/ui/keyboard/BUILD.gn |
+++ b/ui/keyboard/BUILD.gn |
@@ -115,29 +115,31 @@ build_closure("inputview") { |
path = rebase_path("//third_party/google_input_tools") |
} |
-test("keyboard_unittests") { |
- sources = [ |
- "test/run_all_unittests.cc", |
- "keyboard_controller_unittest.cc", |
- ] |
+if (!is_win || link_chrome_on_windows) { |
+ test("keyboard_unittests") { |
+ sources = [ |
+ "test/run_all_unittests.cc", |
+ "keyboard_controller_unittest.cc", |
+ ] |
- deps = [ |
- ":keyboard", |
- "//base", |
- "//base/allocator", |
- "//base/test:test_support", |
- "//content", |
- "//skia", |
- "//testing/gtest", |
- "//ui/aura:test_support", |
- "//ui/base:test_support", |
- "//ui/compositor:test_support", |
- "//ui/events:test_support", |
- "//ui/gfx", |
- "//ui/gfx/geometry", |
- "//ui/gl", |
- "//ui/resources:ui_test_pak", |
- "//ui/wm", |
- "//url", |
- ] |
+ deps = [ |
+ ":keyboard", |
+ "//base", |
+ "//base/allocator", |
+ "//base/test:test_support", |
+ "//content", |
+ "//skia", |
+ "//testing/gtest", |
+ "//ui/aura:test_support", |
+ "//ui/base:test_support", |
+ "//ui/compositor:test_support", |
+ "//ui/events:test_support", |
+ "//ui/gfx", |
+ "//ui/gfx/geometry", |
+ "//ui/gl", |
+ "//ui/resources:ui_test_pak", |
+ "//ui/wm", |
+ "//url", |
+ ] |
+ } |
} |