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