Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: ui/events/events_unittests.gyp

Issue 1415953004: Move content/renderer input handling for web input events to ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/events/events.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'targets': [
10 {
11 # GN version: //ui/events:events_unittests
12 'target_name': 'events_unittests',
13 'type': '<(gtest_target_type)',
14 'dependencies': [
15 '<(DEPTH)/base/base.gyp:base',
16 '<(DEPTH)/base/base.gyp:run_all_unittests',
17 '<(DEPTH)/base/base.gyp:test_support_base',
18 '<(DEPTH)/ipc/ipc.gyp:test_support_ipc',
19 '<(DEPTH)/skia/skia.gyp:skia',
20 '<(DEPTH)/testing/gtest.gyp:gtest',
21 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
22 '../gfx/gfx.gyp:gfx',
23 '../gfx/gfx.gyp:gfx_geometry',
24 '../gfx/gfx.gyp:gfx_test_support',
25 'devices/events_devices.gyp:events_devices',
26 'events.gyp:dom_keycode_converter',
27 'events.gyp:events',
28 'events.gyp:events_base',
29 'events.gyp:events_ipc',
30 'events.gyp:events_test_support',
31 'events.gyp:gesture_detection',
32 'events.gyp:gestures_blink',
33 'platform/events_platform.gyp:events_platform',
34 ],
35 'sources': [
36 # Note: sources list duplicated in GN build.
37 'android/scroller_unittest.cc',
38 'cocoa/events_mac_unittest.mm',
39 'devices/x11/device_data_manager_x11_unittest.cc',
40 'event_dispatcher_unittest.cc',
41 'event_processor_unittest.cc',
42 'event_rewriter_unittest.cc',
43 'event_unittest.cc',
44 'gesture_detection/bitset_32_unittest.cc',
45 'gesture_detection/filtered_gesture_provider_unittest.cc',
46 'gesture_detection/gesture_event_data_packet_unittest.cc',
47 'gesture_detection/gesture_provider_unittest.cc',
48 'gesture_detection/motion_event_buffer_unittest.cc',
49 'gesture_detection/motion_event_generic_unittest.cc',
50 'gesture_detection/snap_scroll_controller_unittest.cc',
51 'gesture_detection/touch_disposition_gesture_filter_unittest.cc',
52 'gesture_detection/velocity_tracker_unittest.cc',
53 'gestures/blink/web_gesture_curve_impl_unittest.cc',
54 'gestures/fling_curve_unittest.cc',
55 'gestures/gesture_provider_aura_unittest.cc',
56 'gestures/motion_event_aura_unittest.cc',
57 'ipc/latency_info_param_traits_unittest.cc',
58 'keycodes/dom/keycode_converter_unittest.cc',
59 'keycodes/keyboard_code_conversion_unittest.cc',
60 'latency_info_unittest.cc',
61 'platform/platform_event_source_unittest.cc',
62 'x/events_x_unittest.cc',
63 ],
64 'include_dirs': [
65 '../../testing/gmock/include',
66 ],
67 'conditions': [
68 ['use_x11==1', {
69 'dependencies': [
70 '../../build/linux/system.gyp:x11',
71 '../gfx/x/gfx_x11.gyp:gfx_x11',
72 ],
73 }],
74 ['use_ozone==1', {
75 'sources': [
76 'ozone/chromeos/cursor_controller_unittest.cc',
77 'ozone/evdev/event_converter_evdev_impl_unittest.cc',
78 'ozone/evdev/event_converter_test_util.cc',
79 'ozone/evdev/event_device_info_unittest.cc',
80 'ozone/evdev/event_device_test_util.cc',
81 'ozone/evdev/input_injector_evdev_unittest.cc',
82 'ozone/evdev/tablet_event_converter_evdev_unittest.cc',
83 'ozone/evdev/touch_event_converter_evdev_unittest.cc',
84 'ozone/evdev/touch_noise/touch_noise_finder_unittest.cc',
85 ],
86 'dependencies': [
87 'ozone/events_ozone.gyp:events_ozone',
88 'ozone/events_ozone.gyp:events_ozone_evdev',
89 'ozone/events_ozone.gyp:events_ozone_layout',
90 ]
91 }],
92 ['use_xkbcommon==1', {
93 'sources': [
94 'ozone/layout/keyboard_layout_engine_unittest.cc',
95 'ozone/layout/xkb/xkb_keyboard_layout_engine_unittest.cc',
96 ]
97 }],
98 ['use_aura==0', {
99 'sources!': [
100 'gestures/gesture_provider_aura_unittest.cc',
101 'gestures/motion_event_aura_unittest.cc',
102 ],
103 }],
104 ['OS=="linux" and use_allocator!="none"', {
105 'dependencies': [
106 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
107 ],
108 }],
109 # Exclude tests that rely on event_utils.h for platforms that do not
110 # provide native cracking, i.e., platforms that use events_stub.cc.
111 ['OS!="win" and use_x11!=1 and use_ozone!=1', {
112 'sources!': [
113 'event_unittest.cc',
114 ],
115 }],
116 ['OS == "android"', {
117 'sources': [
118 'android/motion_event_android_unittest.cc',
119 ],
120 'dependencies': [
121 '../../testing/android/native_test.gyp:native_test_native_code',
122 ],
123 }],
124 ['OS!="ios"', {
125 'sources': [
126 'blink/input_handler_proxy_unittest.cc',
127 'blink/input_scroll_elasticity_controller_unittest.cc',
128 ],
129 'dependencies': [
130 'blink/events_blink.gyp:events_blink',
131 ],
132 }],
133 ],
134 },
135 ],
136 'conditions': [
137 ['OS == "android"', {
138 'targets': [
139 {
140 'target_name': 'events_unittests_apk',
141 'type': 'none',
142 'dependencies': [
143 'events_unittests',
144 ],
145 'variables': {
146 'test_suite_name': 'events_unittests',
147 },
148 'includes': [ '../../build/apk_test.gypi' ],
149 },
150 ],
151 'conditions': [
152 ['test_isolation_mode != "noop"', {
153 'targets': [
154 {
155 'target_name': 'events_unittests_apk_run',
156 'type': 'none',
157 'dependencies': [
158 'events_unittests_apk',
159 ],
160 'includes': [
161 '../../build/isolate.gypi',
162 ],
163 'sources': [
164 'events_unittests_apk.isolate',
165 ],
166 },
167 ],
168 }],
169 ],
170 }],
171 ['test_isolation_mode != "noop"', {
172 'targets': [
173 {
174 'target_name': 'events_unittests_run',
175 'type': 'none',
176 'dependencies': [
177 'events_unittests',
178 ],
179 'includes': [
180 '../../build/isolate.gypi',
181 ],
182 'sources': [
183 'events_unittests.isolate',
184 ],
185 'conditions': [
186 ['use_x11 == 1', {
187 'dependencies': [
188 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
189 ],
190 }],
191 ],
192 },
193 ],
194 }],
195 ],
196 }
OLDNEW
« no previous file with comments | « ui/events/events.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698