| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 | 7 |
| 8 source_set("exo") { | 8 source_set("exo") { |
| 9 sources = [ | 9 sources = [ |
| 10 "buffer.cc", | 10 "buffer.cc", |
| 11 "buffer.h", | 11 "buffer.h", |
| 12 "compositor_frame_sink_holder.cc", | 12 "compositor_frame_sink_holder.cc", |
| 13 "compositor_frame_sink_holder.h", | 13 "compositor_frame_sink_holder.h", |
| 14 "display.cc", | 14 "display.cc", |
| 15 "display.h", | 15 "display.h", |
| 16 "gaming_seat.cc", | 16 "gaming_seat.cc", |
| 17 "gaming_seat.h", | 17 "gaming_seat.h", |
| 18 "gaming_seat_joydev.cc", |
| 19 "gaming_seat_joydev.h", |
| 18 "keyboard.cc", | 20 "keyboard.cc", |
| 19 "keyboard.h", | 21 "keyboard.h", |
| 20 "keyboard_delegate.h", | 22 "keyboard_delegate.h", |
| 21 "keyboard_device_configuration_delegate.h", | 23 "keyboard_device_configuration_delegate.h", |
| 22 "notification_surface.cc", | 24 "notification_surface.cc", |
| 23 "notification_surface.h", | 25 "notification_surface.h", |
| 24 "notification_surface_manager.h", | 26 "notification_surface_manager.h", |
| 25 "pointer.cc", | 27 "pointer.cc", |
| 26 "pointer.h", | 28 "pointer.h", |
| 27 "pointer_delegate.h", | 29 "pointer_delegate.h", |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 "//ui/events/devices:devices", | 66 "//ui/events/devices:devices", |
| 65 "//ui/gfx", | 67 "//ui/gfx", |
| 66 "//ui/gfx/geometry", | 68 "//ui/gfx/geometry", |
| 67 "//ui/gl", | 69 "//ui/gl", |
| 68 "//ui/views", | 70 "//ui/views", |
| 69 "//ui/views/mus", | 71 "//ui/views/mus", |
| 70 "//ui/wm", | 72 "//ui/wm", |
| 71 ] | 73 ] |
| 72 | 74 |
| 73 if (use_ozone) { | 75 if (use_ozone) { |
| 76 sources += [ "gaming_seat_ozone.cc" ] |
| 77 sources += [ "gaming_seat_ozone.h" ] |
| 74 deps += [ "//ui/ozone" ] | 78 deps += [ "//ui/ozone" ] |
| 79 deps += [ "//ui/events/ozone:events_ozone_evdev" ] |
| 75 } | 80 } |
| 76 | 81 |
| 77 if (is_chromeos) { | 82 if (is_chromeos) { |
| 78 deps += [ "//chromeos" ] | 83 deps += [ "//chromeos" ] |
| 79 } | 84 } |
| 80 } | 85 } |
| 81 | 86 |
| 82 source_set("test_support") { | 87 source_set("test_support") { |
| 83 testonly = true | 88 testonly = true |
| 84 | 89 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 104 "//ui/wm:wm", | 109 "//ui/wm:wm", |
| 105 ] | 110 ] |
| 106 } | 111 } |
| 107 | 112 |
| 108 source_set("unit_tests") { | 113 source_set("unit_tests") { |
| 109 testonly = true | 114 testonly = true |
| 110 | 115 |
| 111 sources = [ | 116 sources = [ |
| 112 "buffer_unittest.cc", | 117 "buffer_unittest.cc", |
| 113 "display_unittest.cc", | 118 "display_unittest.cc", |
| 114 "gaming_seat_unittest.cc", | 119 "gaming_seat_joydev_unittest.cc", |
| 115 "keyboard_unittest.cc", | 120 "keyboard_unittest.cc", |
| 116 "pointer_unittest.cc", | 121 "pointer_unittest.cc", |
| 117 "shared_memory_unittest.cc", | 122 "shared_memory_unittest.cc", |
| 118 "shell_surface_unittest.cc", | 123 "shell_surface_unittest.cc", |
| 119 "sub_surface_unittest.cc", | 124 "sub_surface_unittest.cc", |
| 120 "surface_unittest.cc", | 125 "surface_unittest.cc", |
| 121 "touch_unittest.cc", | 126 "touch_unittest.cc", |
| 122 ] | 127 ] |
| 123 | 128 |
| 124 deps = [ | 129 deps = [ |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 data_deps = [ | 183 data_deps = [ |
| 179 "//ash/strings:ash_test_strings", | 184 "//ash/strings:ash_test_strings", |
| 180 "//ash/resources:ash_test_resources_100_percent", | 185 "//ash/resources:ash_test_resources_100_percent", |
| 181 "//ash/resources:ash_test_resources_200_percent", | 186 "//ash/resources:ash_test_resources_200_percent", |
| 182 ] | 187 ] |
| 183 | 188 |
| 184 if (is_linux) { | 189 if (is_linux) { |
| 185 deps += [ "//components/exo/wayland:unit_tests" ] | 190 deps += [ "//components/exo/wayland:unit_tests" ] |
| 186 } | 191 } |
| 187 } | 192 } |
| OLD | NEW |