OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 mojo_native_application("launcher") { | 9 mojo_native_application("launcher") { |
10 sources = [ | 10 sources = [ |
| 11 "main.cc", |
| 12 ] |
| 13 |
| 14 deps = [ |
| 15 ":lib", |
| 16 "//mojo/application", |
| 17 ] |
| 18 } |
| 19 |
| 20 source_set("lib") { |
| 21 sources = [ |
11 "launch_instance.cc", | 22 "launch_instance.cc", |
12 "launch_instance.h", | 23 "launch_instance.h", |
13 "launcher_app.cc", | 24 "launcher_app.cc", |
14 "launcher_app.h", | 25 "launcher_app.h", |
15 "launcher_view_tree.cc", | 26 "launcher_view_tree.cc", |
16 "launcher_view_tree.h", | 27 "launcher_view_tree.h", |
17 "main.cc", | |
18 ] | 28 ] |
19 | 29 |
20 deps = [ | 30 deps = [ |
21 ":bindings", | 31 ":bindings", |
22 "//base", | 32 "//base", |
23 "//mojo/application", | 33 "//mojo/application", |
24 "//mojo/common", | 34 "//mojo/common", |
25 "//mojo/common:tracing_impl", | 35 "//mojo/common:tracing_impl", |
26 "//mojo/environment:chromium", | 36 "//mojo/environment:chromium", |
27 "//mojo/public/cpp/bindings:bindings", | 37 "//mojo/public/cpp/bindings:bindings", |
28 "//mojo/services/gfx/composition/cpp", | 38 "//mojo/services/gfx/composition/cpp", |
29 "//mojo/services/gfx/composition/interfaces", | 39 "//mojo/services/gfx/composition/interfaces", |
30 "//mojo/services/native_viewport/interfaces", | 40 "//mojo/services/native_viewport/interfaces", |
31 "//mojo/services/ui/input/interfaces", | 41 "//mojo/services/ui/input/interfaces", |
32 "//mojo/services/ui/views/cpp", | 42 "//mojo/services/ui/views/cpp", |
33 "//mojo/services/ui/views/interfaces", | 43 "//mojo/services/ui/views/interfaces", |
34 ] | 44 ] |
35 } | 45 } |
36 | 46 |
37 mojom("bindings") { | 47 mojom("bindings") { |
38 sources = [ | 48 sources = [ |
39 "launcher.mojom", | 49 "launcher.mojom", |
40 ] | 50 ] |
41 } | 51 } |
OLD | NEW |