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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 static_library("dom4_keycode_converter") { | 7 static_library("dom4_keycode_converter") { |
8 sources = [ | 8 sources = [ |
9 "keycodes/dom4/keycode_converter.cc", | 9 "keycodes/dom4/keycode_converter.cc", |
10 "keycodes/dom4/keycode_converter.h", | 10 "keycodes/dom4/keycode_converter.h", |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 sources += [ "gesture_detection/gesture_config_helper_aura.cc" ] | 209 sources += [ "gesture_detection/gesture_config_helper_aura.cc" ] |
210 } else { | 210 } else { |
211 sources += [ "gesture_detection/gesture_config_helper.cc" ] | 211 sources += [ "gesture_detection/gesture_config_helper.cc" ] |
212 } | 212 } |
213 } | 213 } |
214 | 214 |
215 source_set("test_support") { | 215 source_set("test_support") { |
216 sources = [ | 216 sources = [ |
217 "test/cocoa_test_event_utils.h", | 217 "test/cocoa_test_event_utils.h", |
218 "test/cocoa_test_event_utils.mm", | 218 "test/cocoa_test_event_utils.mm", |
219 "test/event_generator.cc", | |
220 "test/event_generator.h", | |
221 "test/events_test_utils.cc", | 219 "test/events_test_utils.cc", |
222 "test/events_test_utils.h", | 220 "test/events_test_utils.h", |
223 "test/events_test_utils_x11.cc", | 221 "test/events_test_utils_x11.cc", |
224 "test/events_test_utils_x11.h", | 222 "test/events_test_utils_x11.h", |
225 "test/mock_motion_event.cc", | 223 "test/mock_motion_event.cc", |
226 "test/mock_motion_event.h", | 224 "test/mock_motion_event.h", |
227 "test/platform_event_waiter.cc", | 225 "test/platform_event_waiter.cc", |
228 "test/platform_event_waiter.h", | 226 "test/platform_event_waiter.h", |
229 "test/test_event_handler.cc", | 227 "test/test_event_handler.cc", |
230 "test/test_event_handler.h", | 228 "test/test_event_handler.h", |
(...skipping 17 matching lines...) Expand all Loading... |
248 } | 246 } |
249 | 247 |
250 if (use_x11) { | 248 if (use_x11) { |
251 configs += [ "//build/config/linux:x11" ] | 249 configs += [ "//build/config/linux:x11" ] |
252 } else { | 250 } else { |
253 sources -= [ | 251 sources -= [ |
254 "test/events_test_utils_x11.cc", | 252 "test/events_test_utils_x11.cc", |
255 "test/events_test_utils_x11.h", | 253 "test/events_test_utils_x11.h", |
256 ] | 254 ] |
257 } | 255 } |
258 | |
259 if (is_android) { | |
260 # Event generator not yet ported to Android. | |
261 sources -= [ | |
262 "test/event_generator.cc", | |
263 "test/event_generator.h", | |
264 ] | |
265 } | |
266 } | 256 } |
267 | 257 |
268 test("events_unittests") { | 258 test("events_unittests") { |
269 sources = [ | 259 sources = [ |
270 "cocoa/events_mac_unittest.mm", | 260 "cocoa/events_mac_unittest.mm", |
271 "event_dispatcher_unittest.cc", | 261 "event_dispatcher_unittest.cc", |
272 "event_processor_unittest.cc", | 262 "event_processor_unittest.cc", |
273 "event_rewriter_unittest.cc", | 263 "event_rewriter_unittest.cc", |
274 "event_unittest.cc", | 264 "event_unittest.cc", |
275 "gestures/velocity_calculator_unittest.cc", | 265 "gestures/velocity_calculator_unittest.cc", |
(...skipping 27 matching lines...) Expand all Loading... |
303 ":events_base", | 293 ":events_base", |
304 ":gesture_detection", | 294 ":gesture_detection", |
305 ":test_support", | 295 ":test_support", |
306 "//base", | 296 "//base", |
307 "//base/test:run_all_unittests", | 297 "//base/test:run_all_unittests", |
308 "//skia", | 298 "//skia", |
309 "//testing/gtest", | 299 "//testing/gtest", |
310 "//ui/gfx:test_support", | 300 "//ui/gfx:test_support", |
311 ] | 301 ] |
312 } | 302 } |
OLD | NEW |