| 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/dom3/dom_code.h", | 9 "keycodes/dom3/dom_code.h", |
| 10 "keycodes/dom3/dom_key.h", | 10 "keycodes/dom3/dom_key.h", |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 ":test_support", | 304 ":test_support", |
| 305 "//base", | 305 "//base", |
| 306 "//base/test:run_all_unittests", | 306 "//base/test:run_all_unittests", |
| 307 "//skia", | 307 "//skia", |
| 308 "//testing/gtest", | 308 "//testing/gtest", |
| 309 "//ui/events/devices", | 309 "//ui/events/devices", |
| 310 "//ui/events/platform", | 310 "//ui/events/platform", |
| 311 "//ui/gfx:test_support", | 311 "//ui/gfx:test_support", |
| 312 ] | 312 ] |
| 313 | 313 |
| 314 include_dirs = [ |
| 315 "//testing/gmock/include", |
| 316 ] |
| 317 |
| 314 if (use_x11) { | 318 if (use_x11) { |
| 315 configs += [ "//build/config/linux:x11" ] | 319 configs += [ "//build/config/linux:x11" ] |
| 316 deps += [ "//ui/gfx/x" ] | 320 deps += [ "//ui/gfx/x" ] |
| 317 } else { | 321 } else { |
| 318 sources -= [ | 322 sources -= [ |
| 319 "devices/x11/device_data_manager_x11_unittest.cc", | 323 "devices/x11/device_data_manager_x11_unittest.cc", |
| 320 "x/events_x_unittest.cc", | 324 "x/events_x_unittest.cc", |
| 321 ] | 325 ] |
| 322 } | 326 } |
| 323 | 327 |
| 324 if (use_ozone) { | 328 if (use_ozone) { |
| 325 sources += [ | 329 sources += [ |
| 326 "ozone/chromeos/cursor_controller_unittest.cc", | 330 "ozone/chromeos/cursor_controller_unittest.cc", |
| 327 "ozone/evdev/event_converter_evdev_impl_unittest.cc", | 331 "ozone/evdev/event_converter_evdev_impl_unittest.cc", |
| 332 "ozone/evdev/input_injector_evdev_unittest.cc", |
| 328 "ozone/evdev/tablet_event_converter_evdev_unittest.cc", | 333 "ozone/evdev/tablet_event_converter_evdev_unittest.cc", |
| 329 "ozone/evdev/touch_event_converter_evdev_unittest.cc", | 334 "ozone/evdev/touch_event_converter_evdev_unittest.cc", |
| 330 ] | 335 ] |
| 331 deps += [ | 336 deps += [ |
| 332 "//ui/events/ozone:events_ozone", | 337 "//ui/events/ozone:events_ozone", |
| 333 "//ui/events/ozone:events_ozone_evdev", | 338 "//ui/events/ozone:events_ozone_evdev", |
| 334 ] | 339 ] |
| 335 } | 340 } |
| 336 | 341 |
| 337 if (use_aura) { | 342 if (use_aura) { |
| 338 sources += [ | 343 sources += [ |
| 339 "gestures/gesture_provider_aura_unittest.cc", | 344 "gestures/gesture_provider_aura_unittest.cc", |
| 340 ] | 345 ] |
| 341 } | 346 } |
| 342 } | 347 } |
| OLD | NEW |