Skip to content
Permalink
Browse files

Convert remaining JSON service manifests

  • Loading branch information...
deepak1556 authored and MarshallOfSound committed Feb 14, 2019
1 parent 04ad579 commit 59703c60ac52c232ffc8170824d38a039fd74e2a
Showing with 8 additions and 8 deletions.
  1. +5 −5 atom/app/manifests.cc
  2. +3 −3 manifests/BUILD.gn
@@ -6,15 +6,15 @@

#include "base/no_destructor.h"
#include "printing/buildflags/buildflags.h"
#include "services/proxy_resolver/proxy_resolver_manifest.h"
#include "services/proxy_resolver/public/cpp/manifest.h"
#include "services/service_manager/public/cpp/manifest_builder.h"

#if BUILDFLAG(ENABLE_PRINTING)
#include "components/services/pdf_compositor/pdf_compositor_manifest.h"
#include "components/services/pdf_compositor/public/cpp/manifest.h"
#endif

#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
#include "chrome/services/printing/manifest.h"
#include "chrome/services/printing/public/cpp/manifest.h"
#endif

const service_manager::Manifest& GetElectronContentBrowserOverlayManifest() {
@@ -34,10 +34,10 @@ GetElectronPackagedServicesOverlayManifest() {
static base::NoDestructor<std::vector<service_manager::Manifest>> manifests{{
proxy_resolver::GetManifest(),
#if BUILDFLAG(ENABLE_PRINTING)
pdf_compositor::GetManifest(),
printing::GetPdfCompositorManifest(),
#endif
#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
chrome_printing::GetManifest(),
GetChromePrintingManifest(),
#endif
}};
return *manifests;
@@ -10,14 +10,14 @@ source_set("manifests") {

deps = [
"//printing/buildflags",
"//services/proxy_resolver:proxy_resolver_manifest",
"//services/proxy_resolver/public/cpp:manifest",
]

if (enable_basic_printing) {
deps += [ "//components/services/pdf_compositor:pdf_compositor_manifest" ]
deps += [ "//components/services/pdf_compositor/public/cpp:manifest" ]
}

if (enable_print_preview) {
deps += [ "//chrome/services/printing:manifest" ]
deps += [ "//chrome/services/printing/public/cpp:manifest" ]
}
}

0 comments on commit 59703c6

Please sign in to comment.
You can’t perform that action at this time.