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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//ui/ozone/ozone.gni") | 7 import("//ui/ozone/ozone.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 | 260 |
261 if (is_android) { | 261 if (is_android) { |
262 sources += [ "gesture_detection/gesture_configuration_android.cc" ] | 262 sources += [ "gesture_detection/gesture_configuration_android.cc" ] |
263 } else if (use_aura) { | 263 } else if (use_aura) { |
264 sources += [ "gesture_detection/gesture_configuration_aura.cc" ] | 264 sources += [ "gesture_detection/gesture_configuration_aura.cc" ] |
265 } else { | 265 } else { |
266 sources += [ "gesture_detection/gesture_configuration_default.cc" ] | 266 sources += [ "gesture_detection/gesture_configuration_default.cc" ] |
267 } | 267 } |
268 } | 268 } |
269 | 269 |
270 source_set("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/motion_event_test_utils.cc", | 279 "test/motion_event_test_utils.cc", |
280 "test/motion_event_test_utils.h", | 280 "test/motion_event_test_utils.h", |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 generate_jar_jni("motionevent_jni_headers") { | 470 generate_jar_jni("motionevent_jni_headers") { |
471 jni_package = "ui" | 471 jni_package = "ui" |
472 classes = [ "android/view/MotionEvent.class" ] | 472 classes = [ "android/view/MotionEvent.class" ] |
473 } | 473 } |
474 | 474 |
475 generate_jar_jni("keyevent_jni_headers") { | 475 generate_jar_jni("keyevent_jni_headers") { |
476 jni_package = "ui" | 476 jni_package = "ui" |
477 classes = [ "android/view/KeyEvent.class" ] | 477 classes = [ "android/view/KeyEvent.class" ] |
478 } | 478 } |
479 } | 479 } |
OLD | NEW |