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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 source_set("exo") { | 7 source_set("exo") { |
8 sources = [ | 8 sources = [ |
9 "buffer.cc", | 9 "buffer.cc", |
10 "buffer.h", | 10 "buffer.h", |
11 "display.cc", | 11 "display.cc", |
12 "display.h", | 12 "display.h", |
13 "shared_memory.cc", | 13 "shared_memory.cc", |
14 "shared_memory.h", | 14 "shared_memory.h", |
15 "shell_surface.cc", | 15 "shell_surface.cc", |
16 "shell_surface.h", | 16 "shell_surface.h", |
| 17 "sub_surface.cc", |
| 18 "sub_surface.h", |
17 "surface.cc", | 19 "surface.cc", |
18 "surface.h", | 20 "surface.h", |
19 "surface_delegate.h", | 21 "surface_delegate.h", |
| 22 "surface_observer.h", |
20 ] | 23 ] |
21 | 24 |
22 deps = [ | 25 deps = [ |
23 "//ash", | 26 "//ash", |
24 "//base", | 27 "//base", |
25 "//cc", | 28 "//cc", |
26 "//gpu", | 29 "//gpu", |
27 "//skia", | 30 "//skia", |
28 "//ui/aura", | 31 "//ui/aura", |
29 "//ui/compositor", | 32 "//ui/compositor", |
(...skipping 23 matching lines...) Expand all Loading... |
53 } | 56 } |
54 | 57 |
55 source_set("unit_tests") { | 58 source_set("unit_tests") { |
56 testonly = true | 59 testonly = true |
57 | 60 |
58 sources = [ | 61 sources = [ |
59 "buffer_unittest.cc", | 62 "buffer_unittest.cc", |
60 "display_unittest.cc", | 63 "display_unittest.cc", |
61 "shared_memory_unittest.cc", | 64 "shared_memory_unittest.cc", |
62 "shell_surface_unittest.cc", | 65 "shell_surface_unittest.cc", |
| 66 "sub_surface_unittest.cc", |
63 "surface_unittest.cc", | 67 "surface_unittest.cc", |
64 ] | 68 ] |
65 | 69 |
66 deps = [ | 70 deps = [ |
67 "//components/user_manager", | 71 "//components/user_manager", |
68 "//skia", | 72 "//skia", |
69 "//testing/gtest", | 73 "//testing/gtest", |
70 "//ui/keyboard", | 74 "//ui/keyboard", |
71 "//ui/message_center", | 75 "//ui/message_center", |
72 ":exo", | 76 ":exo", |
73 ":test_support", | 77 ":test_support", |
74 ] | 78 ] |
75 } | 79 } |
76 | 80 |
77 test("exo_unittests") { | 81 test("exo_unittests") { |
78 sources = [ | 82 sources = [ |
79 "test/run_all_unittests.cc", | 83 "test/run_all_unittests.cc", |
80 ] | 84 ] |
81 deps = [ | 85 deps = [ |
82 "//ash:test_support", | 86 "//ash:test_support", |
83 ":unit_tests", | 87 ":unit_tests", |
84 ] | 88 ] |
85 if (is_linux) { | 89 if (is_linux) { |
86 deps += [ "//components/exo/wayland:unit_tests" ] | 90 deps += [ "//components/exo/wayland:unit_tests" ] |
87 } | 91 } |
88 } | 92 } |
OLD | NEW |