| 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 "display.cc", | 12 "display.cc", |
| 13 "display.h", | 13 "display.h", |
| 14 "gamepads.cc", |
| 15 "gamepads.h", |
| 14 "keyboard.cc", | 16 "keyboard.cc", |
| 15 "keyboard.h", | 17 "keyboard.h", |
| 16 "keyboard_delegate.h", | 18 "keyboard_delegate.h", |
| 17 "pointer.cc", | 19 "pointer.cc", |
| 18 "pointer.h", | 20 "pointer.h", |
| 19 "pointer_delegate.h", | 21 "pointer_delegate.h", |
| 20 "shared_memory.cc", | 22 "shared_memory.cc", |
| 21 "shared_memory.h", | 23 "shared_memory.h", |
| 22 "shell_surface.cc", | 24 "shell_surface.cc", |
| 23 "shell_surface.h", | 25 "shell_surface.h", |
| 24 "sub_surface.cc", | 26 "sub_surface.cc", |
| 25 "sub_surface.h", | 27 "sub_surface.h", |
| 26 "surface.cc", | 28 "surface.cc", |
| 27 "surface.h", | 29 "surface.h", |
| 28 "surface_delegate.h", | 30 "surface_delegate.h", |
| 29 "surface_observer.h", | 31 "surface_observer.h", |
| 30 "surface_property.h", | 32 "surface_property.h", |
| 31 "touch.cc", | 33 "touch.cc", |
| 32 "touch.h", | 34 "touch.h", |
| 33 "touch_delegate.h", | 35 "touch_delegate.h", |
| 34 ] | 36 ] |
| 35 | 37 |
| 36 deps = [ | 38 deps = [ |
| 37 "//ash", | 39 "//ash", |
| 38 "//base", | 40 "//base", |
| 39 "//cc", | 41 "//cc", |
| 40 "//cc/surfaces:surfaces", | 42 "//cc/surfaces:surfaces", |
| 43 "//device/gamepad", |
| 41 "//gpu", | 44 "//gpu", |
| 42 "//gpu/command_buffer/client:gles2_interface", | 45 "//gpu/command_buffer/client:gles2_interface", |
| 43 "//skia", | 46 "//skia", |
| 44 "//ui/aura", | 47 "//ui/aura", |
| 45 "//ui/compositor", | 48 "//ui/compositor", |
| 46 "//ui/gfx", | 49 "//ui/gfx", |
| 47 "//ui/gfx/geometry", | 50 "//ui/gfx/geometry", |
| 48 "//ui/gl", | 51 "//ui/gl", |
| 49 "//ui/views", | 52 "//ui/views", |
| 50 "//ui/wm:wm", | 53 "//ui/wm:wm", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 73 "//ui/wm:wm", | 76 "//ui/wm:wm", |
| 74 ] | 77 ] |
| 75 } | 78 } |
| 76 | 79 |
| 77 source_set("unit_tests") { | 80 source_set("unit_tests") { |
| 78 testonly = true | 81 testonly = true |
| 79 | 82 |
| 80 sources = [ | 83 sources = [ |
| 81 "buffer_unittest.cc", | 84 "buffer_unittest.cc", |
| 82 "display_unittest.cc", | 85 "display_unittest.cc", |
| 86 "gamepads_unittest.cc", |
| 83 "keyboard_unittest.cc", | 87 "keyboard_unittest.cc", |
| 84 "pointer_unittest.cc", | 88 "pointer_unittest.cc", |
| 85 "shared_memory_unittest.cc", | 89 "shared_memory_unittest.cc", |
| 86 "shell_surface_unittest.cc", | 90 "shell_surface_unittest.cc", |
| 87 "sub_surface_unittest.cc", | 91 "sub_surface_unittest.cc", |
| 88 "surface_unittest.cc", | 92 "surface_unittest.cc", |
| 89 "touch_unittest.cc", | 93 "touch_unittest.cc", |
| 90 ] | 94 ] |
| 91 | 95 |
| 92 deps = [ | 96 deps = [ |
| (...skipping 24 matching lines...) Expand all Loading... |
| 117 | 121 |
| 118 test("exo_unittests") { | 122 test("exo_unittests") { |
| 119 sources = [ | 123 sources = [ |
| 120 "test/run_all_unittests.cc", | 124 "test/run_all_unittests.cc", |
| 121 ] | 125 ] |
| 122 deps = [ | 126 deps = [ |
| 123 ":unit_tests", | 127 ":unit_tests", |
| 124 "//ash:test_support", | 128 "//ash:test_support", |
| 125 "//base", | 129 "//base", |
| 126 "//base/test:test_support", | 130 "//base/test:test_support", |
| 131 "//device/gamepad:test_helpers", |
| 127 ] | 132 ] |
| 128 if (is_linux) { | 133 if (is_linux) { |
| 129 deps += [ "//components/exo/wayland:unit_tests" ] | 134 deps += [ "//components/exo/wayland:unit_tests" ] |
| 130 } | 135 } |
| 131 } | 136 } |
| OLD | NEW |