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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.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 |
11 component("keyboard") { | 11 component("keyboard") { |
12 sources = [ | 12 sources = [ |
13 "keyboard_controller.cc", | 13 "keyboard_controller.cc", |
14 "keyboard_controller.h", | 14 "keyboard_controller.h", |
15 "keyboard_controller_observer.h", | 15 "keyboard_controller_observer.h", |
| 16 "keyboard_event_filter.cc", |
| 17 "keyboard_event_filter.h", |
16 "keyboard_export.h", | 18 "keyboard_export.h", |
17 "keyboard_layout_delegate.h", | 19 "keyboard_layout_delegate.h", |
18 "keyboard_layout_manager.cc", | 20 "keyboard_layout_manager.cc", |
19 "keyboard_layout_manager.h", | 21 "keyboard_layout_manager.h", |
20 "keyboard_switches.cc", | 22 "keyboard_switches.cc", |
21 "keyboard_switches.h", | 23 "keyboard_switches.h", |
22 "keyboard_ui.cc", | 24 "keyboard_ui.cc", |
23 "keyboard_ui.h", | 25 "keyboard_ui.h", |
24 "keyboard_util.cc", | 26 "keyboard_util.cc", |
25 "keyboard_util.h", | 27 "keyboard_util.h", |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 "keyboard.mojom", | 142 "keyboard.mojom", |
141 ] | 143 ] |
142 deps = [ | 144 deps = [ |
143 "//ui/gfx/geometry/mojo", | 145 "//ui/gfx/geometry/mojo", |
144 ] | 146 ] |
145 } | 147 } |
146 | 148 |
147 test("keyboard_unittests") { | 149 test("keyboard_unittests") { |
148 sources = [ | 150 sources = [ |
149 "keyboard_controller_unittest.cc", | 151 "keyboard_controller_unittest.cc", |
| 152 "keyboard_event_filter_unittest.cc", |
150 "keyboard_util_unittest.cc", | 153 "keyboard_util_unittest.cc", |
151 "test/run_all_unittests.cc", | 154 "test/run_all_unittests.cc", |
152 ] | 155 ] |
153 | 156 |
154 deps = [ | 157 deps = [ |
155 ":keyboard", | 158 ":keyboard", |
156 "//base", | 159 "//base", |
157 "//base/test:test_support", | 160 "//base/test:test_support", |
158 "//skia", | 161 "//skia", |
159 "//testing/gtest", | 162 "//testing/gtest", |
160 "//ui/aura:test_support", | 163 "//ui/aura:test_support", |
161 "//ui/base", | 164 "//ui/base", |
162 "//ui/base:test_support", | 165 "//ui/base:test_support", |
163 "//ui/base/ime", | 166 "//ui/base/ime", |
164 "//ui/compositor:test_support", | 167 "//ui/compositor:test_support", |
165 "//ui/events:test_support", | 168 "//ui/events:test_support", |
166 "//ui/gfx", | 169 "//ui/gfx", |
167 "//ui/gfx/geometry", | 170 "//ui/gfx/geometry", |
168 "//ui/gl:test_support", | 171 "//ui/gl:test_support", |
169 "//ui/resources:ui_test_pak", | 172 "//ui/resources:ui_test_pak", |
170 "//ui/wm", | 173 "//ui/wm", |
171 ] | 174 ] |
172 } | 175 } |
OLD | NEW |