| 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",
|
| + ]
|
| +}
|
|
|