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 "//mojo/converters/geometry", | 23 "//mojo/converters/geometry", |
24 "//mojo/public/cpp/bindings", | 24 "//mojo/public/cpp/bindings", |
25 "//mojo/services/tracing/public/cpp", | 25 "//mojo/services/tracing/public/cpp", |
26 "//mojo/shell/public/cpp", | 26 "//services/shell/public/cpp", |
27 "//mojo/shell/public/cpp:sources", | 27 "//services/shell/public/cpp:sources", |
28 "//skia", | 28 "//skia", |
29 "//ui/gfx", | 29 "//ui/gfx", |
30 "//ui/gfx/geometry", | 30 "//ui/gfx/geometry", |
31 "//ui/views", | 31 "//ui/views", |
32 "//ui/views/examples:views_examples_lib", | 32 "//ui/views/examples:views_examples_lib", |
33 "//ui/views/mus:for_mojo_application", | 33 "//ui/views/mus:for_mojo_application", |
34 ] | 34 ] |
35 | 35 |
36 resources = [ "$root_out_dir/views_mus_resources.pak" ] | 36 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
37 | 37 |
38 data_deps = [ | 38 data_deps = [ |
39 ":manifest", | 39 ":manifest", |
40 "//components/mus", | 40 "//components/mus", |
41 ] | 41 ] |
42 } | 42 } |
43 | 43 |
44 mojo_application_manifest("manifest") { | 44 mojo_application_manifest("manifest") { |
45 application_name = "views_examples" | 45 application_name = "views_examples" |
46 source = "manifest.json" | 46 source = "manifest.json" |
47 } | 47 } |
OLD | NEW |