OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
7 import("//third_party/google_input_tools/closure.gni") | 7 import("//third_party/google_input_tools/closure.gni") |
8 import("//third_party/google_input_tools/inputview.gni") | 8 import("//third_party/google_input_tools/inputview.gni") |
9 import("//tools/grit/grit_rule.gni") | 9 import("//tools/grit/grit_rule.gni") |
10 | 10 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 108 |
109 build_closure("inputview") { | 109 build_closure("inputview") { |
110 sources = inputview_sources | 110 sources = inputview_sources |
111 target = "$target_gen_dir/resources/inputview.js" | 111 target = "$target_gen_dir/resources/inputview.js" |
112 json_file = "//third_party/google_input_tools/inputview.gypi" | 112 json_file = "//third_party/google_input_tools/inputview.gypi" |
113 sources += [ json_file ] | 113 sources += [ json_file ] |
114 json_sources = "variables.inputview_sources" | 114 json_sources = "variables.inputview_sources" |
115 path = rebase_path("//third_party/google_input_tools") | 115 path = rebase_path("//third_party/google_input_tools") |
116 } | 116 } |
117 | 117 |
118 test("keyboard_unittests") { | 118 if (!is_win || link_chrome_on_windows) { |
119 sources = [ | 119 test("keyboard_unittests") { |
120 "test/run_all_unittests.cc", | 120 sources = [ |
121 "keyboard_controller_unittest.cc", | 121 "test/run_all_unittests.cc", |
122 ] | 122 "keyboard_controller_unittest.cc", |
| 123 ] |
123 | 124 |
124 deps = [ | 125 deps = [ |
125 ":keyboard", | 126 ":keyboard", |
126 "//base", | 127 "//base", |
127 "//base/allocator", | 128 "//base/allocator", |
128 "//base/test:test_support", | 129 "//base/test:test_support", |
129 "//content", | 130 "//content", |
130 "//skia", | 131 "//skia", |
131 "//testing/gtest", | 132 "//testing/gtest", |
132 "//ui/aura:test_support", | 133 "//ui/aura:test_support", |
133 "//ui/base:test_support", | 134 "//ui/base:test_support", |
134 "//ui/compositor:test_support", | 135 "//ui/compositor:test_support", |
135 "//ui/events:test_support", | 136 "//ui/events:test_support", |
136 "//ui/gfx", | 137 "//ui/gfx", |
137 "//ui/gfx/geometry", | 138 "//ui/gfx/geometry", |
138 "//ui/gl", | 139 "//ui/gl", |
139 "//ui/resources:ui_test_pak", | 140 "//ui/resources:ui_test_pak", |
140 "//ui/wm", | 141 "//ui/wm", |
141 "//url", | 142 "//url", |
142 ] | 143 ] |
| 144 } |
143 } | 145 } |
OLD | NEW |