Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: chrome/app/mash/BUILD.gn

Issue 2645973006: [Service Manager] Get rid of dynamic service discovery (Closed)
Patch Set: . Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/app/BUILD.gn ('k') | chrome/app/mash/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//services/catalog/public/tools/catalog.gni")
5 import("//services/service_manager/public/service_manifest.gni") 6 import("//services/service_manager/public/service_manifest.gni")
6 7
7 source_set("mash") { 8 source_set("mash") {
8 sources = [ 9 sources = [
9 "mash_runner.cc", 10 "mash_runner.cc",
10 "mash_runner.h", 11 "mash_runner.h",
11 ] 12 ]
12 deps = [ 13 deps = [
13 "//base:i18n", 14 "//base:i18n",
14 "//components/tracing:startup_tracing", 15 "//components/tracing:startup_tracing",
15 "//content/public/common", 16 "//content/public/common",
16 "//mash/package", 17 "//mash/package",
17 "//mash/session/public/interfaces:constants", 18 "//mash/session/public/interfaces:constants",
18 "//services/catalog/public/interfaces", 19 "//services/catalog/public/interfaces",
19 "//services/service_manager", 20 "//services/service_manager",
20 "//services/service_manager/background:lib", 21 "//services/service_manager/background:lib",
21 "//services/service_manager/public/cpp", 22 "//services/service_manager/public/cpp",
22 "//services/service_manager/public/cpp/standalone_service", 23 "//services/service_manager/public/cpp/standalone_service",
23 "//services/service_manager/public/interfaces", 24 "//services/service_manager/public/interfaces",
24 "//services/service_manager/runner:init", 25 "//services/service_manager/runner:init",
25 "//services/service_manager/runner/common", 26 "//services/service_manager/runner/common",
26 "//services/service_manager/runner/host:lib", 27 "//services/service_manager/runner/host:lib",
27 "//services/service_manager/standalone", 28 "//services/service_manager/standalone",
28 "//url", 29 "//url",
29 ] 30 ]
30 data_deps = [ 31 data_deps = [
31 ":mash_manifest", 32 ":catalog_copy",
32 "//chrome/app:service_manifests", 33 "//chrome/app:service_manifests",
33 ] 34 ]
34 35
35 if (is_chromeos) { 36 if (is_chromeos) {
36 sources += [ 37 sources += [
37 "mash_crash_reporter_client.cc", 38 "mash_crash_reporter_client.cc",
38 "mash_crash_reporter_client.h", 39 "mash_crash_reporter_client.h",
39 ] 40 ]
40 deps += [ 41 deps += [
41 "//ash/resources", 42 "//ash/resources",
42 "//components/crash/content/app", 43 "//components/crash/content/app",
43 "//components/crash/core/common", 44 "//components/crash/core/common",
44 "//components/upload_list", 45 "//components/upload_list",
45 "//components/version_info:generate_version_info", 46 "//components/version_info:generate_version_info",
46 ] 47 ]
47 } 48 }
48 49
49 if (is_linux && !is_android) { 50 if (is_linux && !is_android) {
50 deps += [ "//components/font_service:lib" ] 51 deps += [ "//components/font_service:lib" ]
51 } 52 }
52 } 53 }
53 54
54 service_manifest("mash_manifest") { 55 service_manifest("mash_manifest") {
55 name = "chrome_mash" 56 name = "chrome_mash"
56 source = "chrome_mash_manifest.json" 57 source = "chrome_mash_manifest.json"
57 deps = [ 58 packaged_services = [
58 "//ash/autoclick/mus:manifest", 59 "//ash/autoclick/mus:manifest",
59 "//ash/touch_hud/mus:manifest", 60 "//ash/touch_hud/mus:manifest",
60 "//mash/catalog_viewer:manifest", 61 "//mash/catalog_viewer:manifest",
61 "//mash/quick_launch:manifest", 62 "//mash/quick_launch:manifest",
62 "//mash/session:manifest", 63 "//mash/session:manifest",
63 "//mash/task_viewer:manifest", 64 "//mash/task_viewer:manifest",
64 "//services/ui:manifest", 65 "//services/ui:manifest",
65 "//services/ui/ime/test_ime_driver:manifest", 66 "//services/ui/ime/test_ime_driver:manifest",
66 ] 67 ]
67 packaged_services = [
68 "accessibility_autoclick",
69 "catalog_viewer",
70 "mash_session",
71 "quick_launch",
72 "task_viewer",
73 "test_ime_driver",
74 "touch_hud",
75 "ui",
76 ]
77 68
78 if (is_chromeos) { 69 if (is_chromeos) {
79 deps += [ "//ash/mus:manifest" ] 70 packaged_services += [ "//ash/mus:manifest" ]
80 packaged_services += [ "ash" ]
81 } 71 }
82 72
83 if (is_linux && !is_android) { 73 if (is_linux && !is_android) {
84 deps += [ "//components/font_service:manifest" ] 74 packaged_services += [ "//components/font_service:manifest" ]
85 packaged_services += [ "font_service" ]
86 } 75 }
87 } 76 }
77
78 catalog("catalog") {
79 embedded_services = [ ":mash_manifest" ]
80 catalog_deps = [ "//chrome/app:catalog" ]
81 }
82
83 copy("catalog_copy") {
84 sources = get_target_outputs(":catalog")
85 outputs = [
86 "${root_out_dir}/chrome_mash_catalog.json",
87 ]
88 deps = [
89 ":catalog",
90 ]
91 }
OLDNEW
« no previous file with comments | « chrome/app/BUILD.gn ('k') | chrome/app/mash/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698