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/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
| 7 import("//mojo/public/mojo_application_manifest.gni") |
7 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
8 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
9 | 10 |
10 mojo_native_application("views_examples") { | 11 mojo_native_application("views_examples") { |
11 testonly = true | 12 testonly = true |
12 | 13 |
13 sources = [ | 14 sources = [ |
14 "main.cc", | 15 "main.cc", |
15 "views_examples_application_delegate.cc", | 16 "views_examples_application_delegate.cc", |
16 "views_examples_application_delegate.h", | 17 "views_examples_application_delegate.h", |
17 ] | 18 ] |
18 | 19 |
19 deps = [ | 20 deps = [ |
| 21 ":manifest", |
20 "//base", | 22 "//base", |
21 "//components/mus/public/interfaces", | 23 "//components/mus/public/interfaces", |
22 "//mojo/converters/geometry", | 24 "//mojo/converters/geometry", |
23 "//mojo/public/cpp/bindings", | 25 "//mojo/public/cpp/bindings", |
24 "//mojo/services/tracing/public/cpp", | 26 "//mojo/services/tracing/public/cpp", |
25 "//mojo/shell/public/cpp", | 27 "//mojo/shell/public/cpp", |
26 "//mojo/shell/public/cpp:sources", | 28 "//mojo/shell/public/cpp:sources", |
27 "//skia", | 29 "//skia", |
28 "//ui/gfx", | 30 "//ui/gfx", |
29 "//ui/gfx/geometry", | 31 "//ui/gfx/geometry", |
30 "//ui/views", | 32 "//ui/views", |
31 "//ui/views/examples:views_examples_lib", | 33 "//ui/views/examples:views_examples_lib", |
32 "//ui/views/mus:for_mojo_application", | 34 "//ui/views/mus:for_mojo_application", |
33 ] | 35 ] |
34 | 36 |
35 resources = [ "$root_out_dir/views_mus_resources.pak" ] | 37 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
36 | 38 |
37 data_deps = [ | 39 data_deps = [ |
38 "//components/mus", | 40 "//components/mus", |
39 ] | 41 ] |
40 } | 42 } |
| 43 |
| 44 mojo_application_manifest("manifest") { |
| 45 application_name = "views_examples" |
| 46 source = "manifest.json" |
| 47 } |
OLD | NEW |