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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//mojo/public/mojo_application.gni") | 7 import("//mojo/public/mojo_application.gni") |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
10 | 10 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 deps = [ | 125 deps = [ |
126 "//mojo/gles2", | 126 "//mojo/gles2", |
127 ] | 127 ] |
128 } | 128 } |
129 } | 129 } |
130 | 130 |
131 group("tests") { | 131 group("tests") { |
132 testonly = true | 132 testonly = true |
133 | 133 |
134 deps = [ | 134 deps = [ |
135 ":views_apptests", | 135 ":views_mus_unittests", |
136 ] | 136 ] |
137 } | 137 } |
138 | 138 |
139 mojo_native_application("views_apptests") { | 139 test("views_mus_unittests") { |
140 testonly = true | 140 testonly = true |
141 | 141 |
142 configs = [ "//build/config:precompiled_headers" ] | 142 configs += [ "//build/config:precompiled_headers" ] |
143 | 143 |
144 # TODO(sky): add more files. | 144 # TODO(sky): add more files. |
145 sources = [ | 145 sources = [ |
| 146 "../run_all_unittests.cc", |
| 147 "../run_all_unittests.h", |
146 "../widget/native_widget_unittest.cc", | 148 "../widget/native_widget_unittest.cc", |
147 "../widget/root_view_unittest.cc", | 149 "../widget/root_view_unittest.cc", |
148 "../widget/widget_unittest.cc", | 150 "../widget/widget_unittest.cc", |
149 "platform_test_helper_mus.cc", | 151 "platform_test_helper_mus.cc", |
| 152 "run_all_unittests_mus.cc", |
150 ] | 153 ] |
151 | 154 |
152 deps = [ | 155 deps = [ |
153 ":mus", | 156 ":mus", |
154 "//base", | 157 "//base", |
155 "//base:i18n", | 158 "//base:i18n", |
156 "//base/test:test_support", | 159 "//base/test:test_support", |
157 "//cc", | 160 "//cc", |
158 "//mojo/shell/public/cpp:test_support", | 161 "//mojo/shell/background:lib", |
| 162 "//mojo/shell/background:main", |
| 163 "//mojo/shell/public/cpp:sources", |
159 "//skia", | 164 "//skia", |
160 "//testing/gtest", | 165 "//testing/gtest", |
161 "//third_party/icu", | 166 "//third_party/icu", |
162 "//ui/accessibility", | 167 "//ui/accessibility", |
163 "//ui/aura", | 168 "//ui/aura", |
164 "//ui/aura:test_support", | 169 "//ui/aura:test_support", |
165 "//ui/base", | 170 "//ui/base", |
166 "//ui/base:test_support", | 171 "//ui/base:test_support", |
167 "//ui/base/ime", | 172 "//ui/base/ime", |
168 "//ui/compositor:test_support", | 173 "//ui/compositor:test_support", |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 } | 219 } |
215 | 220 |
216 group("for_component") { | 221 group("for_component") { |
217 public_deps = [ | 222 public_deps = [ |
218 ":mus", | 223 ":mus", |
219 ] | 224 ] |
220 deps = [ | 225 deps = [ |
221 "//mojo/gles2", | 226 "//mojo/gles2", |
222 ] | 227 ] |
223 } | 228 } |
OLD | NEW |