OLD | NEW |
1 # Copyright 2016 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/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("init") { | 11 mojo_native_application("init") { |
12 output_name = "mash_init" | 12 output_name = "mash_init" |
13 sources = [ | 13 sources = [ |
14 "init.cc", | 14 "init.cc", |
15 "init.h", | 15 "init.h", |
16 "main.cc", | 16 "main.cc", |
17 ] | 17 ] |
18 | 18 |
19 deps = [ | 19 deps = [ |
20 ":manifest", | |
21 "//base", | 20 "//base", |
22 "//components/mus/public/cpp", | 21 "//components/mus/public/cpp", |
23 "//mash/init/public/interfaces", | 22 "//mash/init/public/interfaces", |
24 "//mojo/public/cpp/bindings", | 23 "//mojo/public/cpp/bindings", |
25 "//mojo/services/tracing/public/cpp", | 24 "//mojo/services/tracing/public/cpp", |
26 "//mojo/shell/public/cpp", | 25 "//mojo/shell/public/cpp", |
27 ] | 26 ] |
| 27 |
| 28 data_deps = [ |
| 29 ":manifest", |
| 30 ] |
28 } | 31 } |
29 | 32 |
30 mojo_application_manifest("manifest") { | 33 mojo_application_manifest("manifest") { |
31 application_name = "mash_init" | 34 application_name = "mash_init" |
32 source = "manifest.json" | 35 source = "manifest.json" |
33 } | 36 } |
OLD | NEW |