OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//third_party/WebKit/Source/core/core.gni") | 5 import("//third_party/WebKit/Source/core/core.gni") |
6 | 6 |
7 blink_core_sources("input") { | 7 target(core_link_small_target_type, "input") { |
| 8 visibility = [ "//third_party/WebKit/Source/core/*" ] |
| 9 |
8 sources = [ | 10 sources = [ |
9 "EventHandler.cpp", | 11 "EventHandler.cpp", |
10 "EventHandler.h", | 12 "EventHandler.h", |
11 "GestureManager.cpp", | 13 "GestureManager.cpp", |
12 "GestureManager.h", | 14 "GestureManager.h", |
13 "InputDeviceCapabilities.cpp", | 15 "InputDeviceCapabilities.cpp", |
14 "InputDeviceCapabilities.h", | 16 "InputDeviceCapabilities.h", |
15 "KeyboardEventManager.cpp", | 17 "KeyboardEventManager.cpp", |
16 "KeyboardEventManager.h", | 18 "KeyboardEventManager.h", |
17 "PointerEventManager.cpp", | 19 "PointerEventManager.cpp", |
18 "PointerEventManager.h", | 20 "PointerEventManager.h", |
19 "ScrollManager.cpp", | 21 "ScrollManager.cpp", |
20 "ScrollManager.h", | 22 "ScrollManager.h", |
21 "TouchActionUtil.cpp", | 23 "TouchActionUtil.cpp", |
22 "TouchActionUtil.h", | 24 "TouchActionUtil.h", |
23 "TouchEventManager.cpp", | 25 "TouchEventManager.cpp", |
24 "TouchEventManager.h", | 26 "TouchEventManager.h", |
25 ] | 27 ] |
26 | 28 |
| 29 configs -= core_config_remove |
| 30 configs += core_config_add |
27 configs += [ | 31 configs += [ |
28 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 32 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
29 "//build/config/compiler:no_size_t_to_int_warning", | 33 "//build/config/compiler:no_size_t_to_int_warning", |
30 ] | 34 ] |
| 35 |
| 36 deps = [ |
| 37 "//third_party/WebKit/Source/core:prerequisites", |
| 38 ] |
31 } | 39 } |
OLD | NEW |