| Index: chrome/app/BUILD.gn
|
| diff --git a/chrome/app/BUILD.gn b/chrome/app/BUILD.gn
|
| index 1b083650f7271b2b77bde94e8b047711df89002c..7fbae3d96430487f1f4f29a709a9e119c5a9aa71 100644
|
| --- a/chrome/app/BUILD.gn
|
| +++ b/chrome/app/BUILD.gn
|
| @@ -6,6 +6,7 @@ import("//build/config/ui.gni")
|
| import("//chrome/common/features.gni")
|
| import("//ppapi/features/features.gni")
|
| import("//printing/features/features.gni")
|
| +import("//services/catalog/public/tools/catalog.gni")
|
| import("//services/service_manager/public/service_manifest.gni")
|
| import("//tools/grit/grit_rule.gni")
|
|
|
| @@ -353,18 +354,40 @@ static_library("test_support") {
|
| }
|
| }
|
|
|
| -service_manifest_overlay("chrome_content_browser_manifest_overlay") {
|
| +service_manifest("chrome_content_browser_manifest_overlay") {
|
| source = "//chrome/browser/chrome_content_browser_manifest_overlay.json"
|
| packaged_services = [
|
| - "image_decoder",
|
| - "preferences",
|
| - ]
|
| - deps = [
|
| "//chrome/browser:preferences_manifest",
|
| "//services/image_decoder:manifest",
|
| ]
|
| }
|
|
|
| +service_manifest("chrome_content_gpu_manifest_overlay") {
|
| + source = "//chrome/browser/chrome_content_gpu_manifest_overlay.json"
|
| +}
|
| +
|
| +service_manifest("chrome_content_plugin_manifest_overlay") {
|
| + source = "//chrome/browser/chrome_content_plugin_manifest_overlay.json"
|
| +}
|
| +
|
| +service_manifest("chrome_content_renderer_manifest_overlay") {
|
| + source = "//chrome/browser/chrome_content_renderer_manifest_overlay.json"
|
| +}
|
| +
|
| +service_manifest("chrome_content_utility_manifest_overlay") {
|
| + source = "//chrome/browser/chrome_content_utility_manifest_overlay.json"
|
| +}
|
| +
|
| +group("chrome_content_manifest_overlays") {
|
| + deps = [
|
| + ":chrome_content_browser_manifest_overlay",
|
| + ":chrome_content_gpu_manifest_overlay",
|
| + ":chrome_content_plugin_manifest_overlay",
|
| + ":chrome_content_renderer_manifest_overlay",
|
| + ":chrome_content_utility_manifest_overlay",
|
| + ]
|
| +}
|
| +
|
| if (use_aura) {
|
| # NOTE: These rules generate compiled versions of the content service
|
| # manifests with Chrome's overlays applied. These are only used at run-time,
|
| @@ -373,58 +396,28 @@ if (use_aura) {
|
| # resources and merged at runtime.
|
|
|
| service_manifest("chrome_content_browser_manifest") {
|
| - name = "content_browser"
|
| - output_name = "chrome_content_browser"
|
| - source = "${root_out_dir}/Packages/content_browser/manifest.json"
|
| - overlays =
|
| - [ "${root_gen_dir}/chrome_content_browser_manifest_overlay.json" ]
|
| - deps = [
|
| - ":chrome_content_browser_manifest_overlay",
|
| - "//content/public/app:browser_manifest",
|
| - ]
|
| + source_manifest = "//content/public/app:browser_manifest"
|
| + overlays = [ ":chrome_content_browser_manifest_overlay" ]
|
| }
|
|
|
| service_manifest("chrome_content_gpu_manifest") {
|
| - name = "content_gpu"
|
| - output_name = "chrome_content_gpu"
|
| - source = "${root_out_dir}/Packages/content_gpu/manifest.json"
|
| - overlays = [ "//chrome/browser/chrome_content_gpu_manifest_overlay.json" ]
|
| - deps = [
|
| - "//content/public/app:gpu_manifest",
|
| - ]
|
| + source_manifest = "//content/public/app:gpu_manifest"
|
| + overlays = [ ":chrome_content_gpu_manifest_overlay" ]
|
| }
|
|
|
| service_manifest("chrome_content_plugin_manifest") {
|
| - name = "content_plugin"
|
| - output_name = "chrome_content_plugin"
|
| - source = "${root_out_dir}/Packages/content_plugin/manifest.json"
|
| - overlays =
|
| - [ "//chrome/browser/chrome_content_plugin_manifest_overlay.json" ]
|
| - deps = [
|
| - "//content/public/app:plugin_manifest",
|
| - ]
|
| + source_manifest = "//content/public/app:plugin_manifest"
|
| + overlays = [ ":chrome_content_plugin_manifest_overlay" ]
|
| }
|
|
|
| service_manifest("chrome_content_renderer_manifest") {
|
| - name = "content_renderer"
|
| - output_name = "chrome_content_renderer"
|
| - source = "${root_out_dir}/Packages/content_renderer/manifest.json"
|
| - overlays =
|
| - [ "//chrome/browser/chrome_content_renderer_manifest_overlay.json" ]
|
| - deps = [
|
| - "//content/public/app:renderer_manifest",
|
| - ]
|
| + source_manifest = "//content/public/app:renderer_manifest"
|
| + overlays = [ ":chrome_content_renderer_manifest_overlay" ]
|
| }
|
|
|
| service_manifest("chrome_content_utility_manifest") {
|
| - name = "content_utility"
|
| - output_name = "chrome_content_utility"
|
| - source = "${root_out_dir}/Packages/content_utility/manifest.json"
|
| - overlays =
|
| - [ "//chrome/browser/chrome_content_utility_manifest_overlay.json" ]
|
| - deps = [
|
| - "//content/public/app:utility_manifest",
|
| - ]
|
| + source_manifest = "//content/public/app:utility_manifest"
|
| + overlays = [ ":chrome_content_utility_manifest_overlay" ]
|
| }
|
|
|
| group("service_manifests") {
|
| @@ -436,4 +429,14 @@ if (use_aura) {
|
| ":chrome_content_utility_manifest",
|
| ]
|
| }
|
| +
|
| + catalog("catalog") {
|
| + embedded_services = [
|
| + ":chrome_content_browser_manifest",
|
| + ":chrome_content_gpu_manifest",
|
| + ":chrome_content_plugin_manifest",
|
| + ":chrome_content_renderer_manifest",
|
| + ":chrome_content_utility_manifest",
|
| + ]
|
| + }
|
| }
|
|
|