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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/BUILD.gn ('k') | chrome/app/mash/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/mash/BUILD.gn
diff --git a/chrome/app/mash/BUILD.gn b/chrome/app/mash/BUILD.gn
index 48b2ad736119a817925ebcab2dcbd437994ba2e6..76dc0c4ac4b1cb633335112a7eb2cfbf4fe161c4 100644
--- a/chrome/app/mash/BUILD.gn
+++ b/chrome/app/mash/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//services/catalog/public/tools/catalog.gni")
import("//services/service_manager/public/service_manifest.gni")
source_set("mash") {
@@ -28,7 +29,7 @@ source_set("mash") {
"//url",
]
data_deps = [
- ":mash_manifest",
+ ":catalog_copy",
"//chrome/app:service_manifests",
]
@@ -54,7 +55,7 @@ source_set("mash") {
service_manifest("mash_manifest") {
name = "chrome_mash"
source = "chrome_mash_manifest.json"
- deps = [
+ packaged_services = [
"//ash/autoclick/mus:manifest",
"//ash/touch_hud/mus:manifest",
"//mash/catalog_viewer:manifest",
@@ -64,24 +65,27 @@ service_manifest("mash_manifest") {
"//services/ui:manifest",
"//services/ui/ime/test_ime_driver:manifest",
]
- packaged_services = [
- "accessibility_autoclick",
- "catalog_viewer",
- "mash_session",
- "quick_launch",
- "task_viewer",
- "test_ime_driver",
- "touch_hud",
- "ui",
- ]
if (is_chromeos) {
- deps += [ "//ash/mus:manifest" ]
- packaged_services += [ "ash" ]
+ packaged_services += [ "//ash/mus:manifest" ]
}
if (is_linux && !is_android) {
- deps += [ "//components/font_service:manifest" ]
- packaged_services += [ "font_service" ]
+ packaged_services += [ "//components/font_service:manifest" ]
}
}
+
+catalog("catalog") {
+ embedded_services = [ ":mash_manifest" ]
+ catalog_deps = [ "//chrome/app:catalog" ]
+}
+
+copy("catalog_copy") {
+ sources = get_target_outputs(":catalog")
+ outputs = [
+ "${root_out_dir}/chrome_mash_catalog.json",
+ ]
+ deps = [
+ ":catalog",
+ ]
+}
« 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