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("//mojo/public/mojo_application_manifest.gni") | 5 import("//mojo/public/mojo_application_manifest.gni") |
6 | 6 |
7 source_set("mash") { | 7 source_set("mash") { |
8 sources = [ | 8 sources = [ |
9 "mash_runner.cc", | 9 "mash_runner.cc", |
10 "mash_runner.h", | 10 "mash_runner.h", |
11 ] | 11 ] |
12 deps = [ | 12 deps = [ |
13 "//ash/mus:lib", | 13 "//ash/mus:lib", |
14 "//ash/resources", | 14 "//ash/resources", |
15 "//base:i18n", | 15 "//base:i18n", |
16 "//components/mus:lib", | 16 "//components/mus:lib", |
17 "//components/resource_provider:lib", | 17 "//components/resource_provider:lib", |
18 "//content/public/common", | 18 "//content/public/common", |
19 "//mash/quick_launch:lib", | 19 "//mash/quick_launch:lib", |
20 "//mash/shell:lib", | 20 "//mash/session:lib", |
21 "//mash/wm:lib", | 21 "//mash/wm:lib", |
22 "//mojo/shell", | 22 "//mojo/shell", |
23 "//mojo/shell/background:lib", | 23 "//mojo/shell/background:lib", |
24 "//mojo/shell/public/cpp", | 24 "//mojo/shell/public/cpp", |
25 "//mojo/shell/public/interfaces", | 25 "//mojo/shell/public/interfaces", |
26 "//mojo/shell/runner/common", | 26 "//mojo/shell/runner/common", |
27 "//mojo/shell/runner/host:child_process_base", | 27 "//mojo/shell/runner/host:child_process_base", |
28 "//mojo/shell/runner/host:lib", | 28 "//mojo/shell/runner/host:lib", |
29 "//url", | 29 "//url", |
30 ] | 30 ] |
31 data_deps = [ | 31 data_deps = [ |
32 ":manifest", | 32 ":manifest", |
33 ] | 33 ] |
34 | 34 |
35 if (is_linux && !is_android) { | 35 if (is_linux && !is_android) { |
36 deps += [ "//components/font_service:lib" ] | 36 deps += [ "//components/font_service:lib" ] |
37 } | 37 } |
38 } | 38 } |
39 | 39 |
40 mojo_application_manifest("manifest") { | 40 mojo_application_manifest("manifest") { |
41 type = "exe" | 41 type = "exe" |
42 application_name = "chrome_mash" | 42 application_name = "chrome_mash" |
43 source = "chrome_mash_manifest.json" | 43 source = "chrome_mash_manifest.json" |
44 deps = [ | 44 deps = [ |
45 "//ash/mus:manifest", | 45 "//ash/mus:manifest", |
46 "//components/mus:manifest", | 46 "//components/mus:manifest", |
47 "//components/resource_provider:manifest", | 47 "//components/resource_provider:manifest", |
48 "//mash/quick_launch:manifest", | 48 "//mash/quick_launch:manifest", |
49 "//mash/shell:manifest", | 49 "//mash/session:manifest", |
50 "//mash/wm:manifest", | 50 "//mash/wm:manifest", |
51 ] | 51 ] |
52 packaged_applications = [ | 52 packaged_applications = [ |
53 "ash_sysui", | 53 "ash_sysui", |
54 "desktop_wm", | 54 "desktop_wm", |
55 "mash_shell", | 55 "mash_session", |
56 "mus", | 56 "mus", |
57 "quick_launch", | 57 "quick_launch", |
58 "resource_provider", | 58 "resource_provider", |
59 ] | 59 ] |
60 | 60 |
61 if (is_linux && !is_android) { | 61 if (is_linux && !is_android) { |
62 deps += [ "//components/font_service:manifest" ] | 62 deps += [ "//components/font_service:manifest" ] |
63 packaged_applications += [ "font_service" ] | 63 packaged_applications += [ "font_service" ] |
64 } | 64 } |
65 } | 65 } |
OLD | NEW |