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("//mojo/public/mojo_application_manifest.gni") |
8 import("//testing/test.gni") | 9 import("//testing/test.gni") |
9 import("//tools/grit/repack.gni") | 10 import("//tools/grit/repack.gni") |
10 | 11 |
11 component("mus") { | 12 component("mus") { |
12 output_name = "ui_views_mus_lib" | 13 output_name = "ui_views_mus_lib" |
13 | 14 |
14 sources = [ | 15 sources = [ |
15 "aura_init.cc", | 16 "aura_init.cc", |
16 "aura_init.h", | 17 "aura_init.h", |
17 "display_converter.cc", | 18 "display_converter.cc", |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 "//ui/resources:ui_test_pak", | 189 "//ui/resources:ui_test_pak", |
189 "//ui/strings", | 190 "//ui/strings", |
190 "//ui/touch_selection", | 191 "//ui/touch_selection", |
191 "//ui/views", | 192 "//ui/views", |
192 "//ui/views:test_support_internal", | 193 "//ui/views:test_support_internal", |
193 "//ui/wm", | 194 "//ui/wm", |
194 "//url", | 195 "//url", |
195 ] | 196 ] |
196 | 197 |
197 data_deps = [ | 198 data_deps = [ |
| 199 ":unittests_manifest", |
198 "//mash/wm", | 200 "//mash/wm", |
199 ] | 201 ] |
200 | 202 |
201 # TODO(thakis): This should be a data_deps on //ui/resources:ui_test_pak, but | 203 # TODO(thakis): This should be a data_deps on //ui/resources:ui_test_pak, but |
202 # that has no effect. (See similar TODOs elsewhere ui_test.pak is listed) | 204 # that has no effect. (See similar TODOs elsewhere ui_test.pak is listed) |
203 data = [ | 205 data = [ |
204 "$root_out_dir/ui_test.pak", | 206 "$root_out_dir/ui_test.pak", |
205 ] | 207 ] |
206 | 208 |
207 if (is_win) { | 209 if (is_win) { |
(...skipping 15 matching lines...) Expand all Loading... |
223 "//build/config/linux:xext", | 225 "//build/config/linux:xext", |
224 ] | 226 ] |
225 deps += [ | 227 deps += [ |
226 "//ui/events/devices", | 228 "//ui/events/devices", |
227 "//ui/events/platform/x11", | 229 "//ui/events/platform/x11", |
228 "//ui/gfx/x", | 230 "//ui/gfx/x", |
229 ] | 231 ] |
230 } | 232 } |
231 } | 233 } |
232 | 234 |
| 235 mojo_application_manifest("unittests_manifest") { |
| 236 type = "exe" |
| 237 application_name = "views_mus_unittests" |
| 238 source = "unittests_manifest.json" |
| 239 } |
| 240 |
233 group("for_component") { | 241 group("for_component") { |
234 public_deps = [ | 242 public_deps = [ |
235 ":mus", | 243 ":mus", |
236 ] | 244 ] |
237 deps = [ | 245 deps = [ |
238 "//mojo/gles2", | 246 "//mojo/gles2", |
239 ] | 247 ] |
240 } | 248 } |
OLD | NEW |