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", |
(...skipping 27 matching lines...) Expand all Loading... |
38 "//cc", | 38 "//cc", |
39 "//gpu", | 39 "//gpu", |
40 "//gpu/command_buffer/client:gles2_interface", | 40 "//gpu/command_buffer/client:gles2_interface", |
41 "//skia", | 41 "//skia", |
42 "//ui/aura", | 42 "//ui/aura", |
43 "//ui/compositor", | 43 "//ui/compositor", |
44 "//ui/gfx", | 44 "//ui/gfx", |
45 "//ui/gfx/geometry", | 45 "//ui/gfx/geometry", |
46 "//ui/gl", | 46 "//ui/gl", |
47 "//ui/views", | 47 "//ui/views", |
| 48 "//ui/wm:wm", |
48 ] | 49 ] |
49 } | 50 } |
50 | 51 |
51 source_set("test_support") { | 52 source_set("test_support") { |
52 testonly = true | 53 testonly = true |
53 | 54 |
54 sources = [ | 55 sources = [ |
55 "test/exo_test_base.cc", | 56 "test/exo_test_base.cc", |
56 "test/exo_test_base.h", | 57 "test/exo_test_base.h", |
57 "test/exo_test_helper.cc", | 58 "test/exo_test_helper.cc", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 "//skia", | 98 "//skia", |
98 "//testing/gmock", | 99 "//testing/gmock", |
99 "//testing/gtest", | 100 "//testing/gtest", |
100 "//ui/aura", | 101 "//ui/aura", |
101 "//ui/events:dom_keycode_converter", | 102 "//ui/events:dom_keycode_converter", |
102 "//ui/events:test_support", | 103 "//ui/events:test_support", |
103 "//ui/gfx", | 104 "//ui/gfx", |
104 "//ui/keyboard", | 105 "//ui/keyboard", |
105 "//ui/message_center", | 106 "//ui/message_center", |
106 "//ui/views", | 107 "//ui/views", |
| 108 "//ui/wm:wm", |
107 ] | 109 ] |
108 | 110 |
109 if (use_ozone) { | 111 if (use_ozone) { |
110 deps += [ "//ui/ozone" ] | 112 deps += [ "//ui/ozone" ] |
111 } | 113 } |
112 } | 114 } |
113 | 115 |
114 test("exo_unittests") { | 116 test("exo_unittests") { |
115 sources = [ | 117 sources = [ |
116 "test/run_all_unittests.cc", | 118 "test/run_all_unittests.cc", |
117 ] | 119 ] |
118 deps = [ | 120 deps = [ |
119 ":unit_tests", | 121 ":unit_tests", |
120 "//ash:test_support", | 122 "//ash:test_support", |
121 "//base", | 123 "//base", |
122 "//base/test:test_support", | 124 "//base/test:test_support", |
123 ] | 125 ] |
124 if (is_linux) { | 126 if (is_linux) { |
125 deps += [ "//components/exo/wayland:unit_tests" ] | 127 deps += [ "//components/exo/wayland:unit_tests" ] |
126 } | 128 } |
127 } | 129 } |
OLD | NEW |