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