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