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("//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("shell") { | 11 source_set("lib") { |
12 output_name = "mash_shell" | |
13 | |
14 sources = [ | 12 sources = [ |
15 "main.cc", | |
16 "shell_application_delegate.cc", | 13 "shell_application_delegate.cc", |
17 "shell_application_delegate.h", | 14 "shell_application_delegate.h", |
18 ] | 15 ] |
19 | 16 |
20 deps = [ | 17 deps = [ |
21 ":manifest", | |
22 "//base", | 18 "//base", |
23 "//mash/shell/public/interfaces", | 19 "//mash/shell/public/interfaces", |
24 "//mojo/common", | 20 "//mojo/common", |
25 "//mojo/public/cpp/bindings", | 21 "//mojo/public/cpp/bindings", |
26 "//mojo/shell/public/cpp", | 22 "//mojo/shell/public/cpp", |
27 "//mojo/shell/public/cpp:sources", | 23 "//mojo/shell/public/cpp:sources", |
28 ] | 24 ] |
29 | 25 |
30 data_deps = [ | 26 data_deps = [ |
31 "//ash/mus", | 27 "//ash/mus", |
32 "//mash/browser_driver", | 28 "//mash/browser_driver", |
33 "//mash/quick_launch", | 29 "//mash/quick_launch", |
34 "//mash/wm", | 30 "//mash/wm", |
35 ] | 31 ] |
36 } | 32 } |
37 | 33 |
| 34 mojo_native_application("shell") { |
| 35 output_name = "mash_shell" |
| 36 |
| 37 sources = [ |
| 38 "main.cc", |
| 39 ] |
| 40 |
| 41 deps = [ |
| 42 ":lib", |
| 43 ":manifest", |
| 44 "//base", |
| 45 "//mash/shell/public/interfaces", |
| 46 "//mojo/common", |
| 47 "//mojo/public/cpp/bindings", |
| 48 "//mojo/shell/public/cpp", |
| 49 "//mojo/shell/public/cpp:sources", |
| 50 ] |
| 51 } |
| 52 |
38 mojo_application_manifest("manifest") { | 53 mojo_application_manifest("manifest") { |
39 application_name = "mash_shell" | 54 application_name = "mash_shell" |
40 source = "manifest.json" | 55 source = "manifest.json" |
41 } | 56 } |
OLD | NEW |