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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//ui/ozone/ozone.gni") | 8 import("//ui/ozone/ozone.gni") |
9 | 9 |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 | 269 |
270 static_library("test_support") { | 270 static_library("test_support") { |
271 sources = [ | 271 sources = [ |
272 "test/cocoa_test_event_utils.h", | 272 "test/cocoa_test_event_utils.h", |
273 "test/cocoa_test_event_utils.mm", | 273 "test/cocoa_test_event_utils.mm", |
274 "test/device_data_manager_test_api.h", | 274 "test/device_data_manager_test_api.h", |
275 "test/event_generator.cc", | 275 "test/event_generator.cc", |
276 "test/event_generator.h", | 276 "test/event_generator.h", |
277 "test/events_test_utils.cc", | 277 "test/events_test_utils.cc", |
278 "test/events_test_utils.h", | 278 "test/events_test_utils.h", |
279 "test/keyboard_layout.cc", | |
280 "test/keyboard_layout.h", | |
281 "test/keyboard_layout_mac.cc", | |
282 "test/keyboard_layout_win.cc", | |
283 "test/motion_event_test_utils.cc", | 279 "test/motion_event_test_utils.cc", |
284 "test/motion_event_test_utils.h", | 280 "test/motion_event_test_utils.h", |
285 "test/platform_event_source_test_api.cc", | 281 "test/platform_event_source_test_api.cc", |
286 "test/platform_event_source_test_api.h", | 282 "test/platform_event_source_test_api.h", |
287 "test/platform_event_waiter.cc", | 283 "test/platform_event_waiter.cc", |
288 "test/platform_event_waiter.h", | 284 "test/platform_event_waiter.h", |
289 "test/test_event_handler.cc", | 285 "test/test_event_handler.cc", |
290 "test/test_event_handler.h", | 286 "test/test_event_handler.h", |
291 "test/test_event_processor.cc", | 287 "test/test_event_processor.cc", |
292 "test/test_event_processor.h", | 288 "test/test_event_processor.h", |
(...skipping 17 matching lines...) Expand all Loading... |
310 "//ui/gfx/geometry", | 306 "//ui/gfx/geometry", |
311 ] | 307 ] |
312 | 308 |
313 if (is_ios) { | 309 if (is_ios) { |
314 sources -= [ | 310 sources -= [ |
315 "test/cocoa_test_event_utils.h", | 311 "test/cocoa_test_event_utils.h", |
316 "test/cocoa_test_event_utils.mm", | 312 "test/cocoa_test_event_utils.mm", |
317 ] | 313 ] |
318 } | 314 } |
319 | 315 |
320 if (is_mac) { | |
321 libs = [ "Carbon.framework" ] | |
322 } | |
323 | |
324 if (use_x11) { | 316 if (use_x11) { |
325 sources += [ | 317 sources += [ |
326 "test/events_test_utils_x11.cc", | 318 "test/events_test_utils_x11.cc", |
327 "test/events_test_utils_x11.h", | 319 "test/events_test_utils_x11.h", |
328 ] | 320 ] |
329 deps += [ | 321 deps += [ |
330 "//ui/events/devices/x11", | 322 "//ui/events/devices/x11", |
331 "//ui/gfx/x", | 323 "//ui/gfx/x", |
332 ] | 324 ] |
333 } | 325 } |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 generate_jar_jni("motionevent_jni_headers") { | 477 generate_jar_jni("motionevent_jni_headers") { |
486 jni_package = "ui" | 478 jni_package = "ui" |
487 classes = [ "android/view/MotionEvent.class" ] | 479 classes = [ "android/view/MotionEvent.class" ] |
488 } | 480 } |
489 | 481 |
490 generate_jar_jni("keyevent_jni_headers") { | 482 generate_jar_jni("keyevent_jni_headers") { |
491 jni_package = "ui" | 483 jni_package = "ui" |
492 classes = [ "android/view/KeyEvent.class" ] | 484 classes = [ "android/view/KeyEvent.class" ] |
493 } | 485 } |
494 } | 486 } |
OLD | NEW |