OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 | 9 |
10 mojo_native_application("views_examples") { | 10 source_set("lib") { |
11 testonly = true | 11 testonly = true |
12 | 12 |
13 sources = [ | 13 sources = [ |
14 "main.cc", | 14 "sysui_application.cc", |
15 "views_examples_application_delegate.cc", | 15 "sysui_application.h", |
16 "views_examples_application_delegate.h", | |
17 ] | 16 ] |
18 | 17 |
19 deps = [ | 18 deps = [ |
20 "//base", | 19 "//ash:ash_shell_lib", |
| 20 "//components/mus/common", |
| 21 "//components/mus/public/cpp", |
21 "//components/mus/public/interfaces", | 22 "//components/mus/public/interfaces", |
| 23 "//mash/wm/public/interfaces", |
| 24 "//mojo/common:common_base", |
22 "//mojo/converters/geometry", | 25 "//mojo/converters/geometry", |
23 "//mojo/public/cpp/bindings", | 26 "//mojo/converters/input_events", |
24 "//mojo/services/tracing/public/cpp", | 27 "//mojo/services/tracing/public/cpp", |
25 "//mojo/shell/public/cpp", | 28 "//mojo/shell/public/cpp", |
26 "//mojo/shell/public/cpp:sources", | |
27 "//skia", | 29 "//skia", |
| 30 "//ui/aura", |
| 31 "//ui/events", |
28 "//ui/gfx", | 32 "//ui/gfx", |
29 "//ui/gfx/geometry", | 33 "//ui/gfx/geometry", |
| 34 "//ui/mojo/init", |
| 35 "//ui/resources", |
| 36 "//ui/strings", |
30 "//ui/views", | 37 "//ui/views", |
31 "//ui/views/examples:views_examples_lib", | |
32 "//ui/views/mus:for_mojo_application", | 38 "//ui/views/mus:for_mojo_application", |
33 ] | 39 ] |
| 40 } |
34 | 41 |
35 resources = [ "$root_out_dir/views_mus_resources.pak" ] | 42 mojo_native_application("sysui") { |
36 | 43 output_name = "ash_sysui" |
37 data_deps = [ | 44 sources = [ |
38 "//components/mus", | 45 "main.cc", |
| 46 ] |
| 47 testonly = true |
| 48 deps = [ |
| 49 ":lib", |
39 ] | 50 ] |
40 } | 51 } |
OLD | NEW |