mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 14:26:09 +03:00
84 lines
2.0 KiB
Plaintext
84 lines
2.0 KiB
Plaintext
# Copyright 2017 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//services/service_manager/public/cpp/service.gni")
|
|
import("//services/service_manager/public/service_manifest.gni")
|
|
import("//services/service_manager/public/tools/test/service_test.gni")
|
|
|
|
static_library("service") {
|
|
sources = [
|
|
"pdf_compositor_impl.cc",
|
|
"pdf_compositor_impl.h",
|
|
"pdf_compositor_service.cc",
|
|
"pdf_compositor_service.h",
|
|
]
|
|
|
|
deps = [
|
|
"//base",
|
|
"//components/discardable_memory/client",
|
|
"//components/discardable_memory/public/interfaces",
|
|
"//content/public/child",
|
|
"//content/public/common:service_names",
|
|
"//content/public/utility",
|
|
"//printing/common",
|
|
"//skia",
|
|
]
|
|
|
|
public_deps = [
|
|
"//components/printing/service/public/interfaces",
|
|
"//services/service_manager/public/cpp",
|
|
]
|
|
}
|
|
|
|
service_manifest("pdf_compositor_manifest") {
|
|
name = "pdf_compositor"
|
|
source = "pdf_compositor_manifest.json"
|
|
}
|
|
|
|
service("pdf_compositor_test_service") {
|
|
testonly = true
|
|
|
|
sources = [
|
|
"test_service_main.cc",
|
|
]
|
|
|
|
deps = [
|
|
":service",
|
|
"//base",
|
|
"//base/test:test_support",
|
|
]
|
|
}
|
|
|
|
service_test("pdf_compositor_service_unittest") {
|
|
testonly = true
|
|
|
|
sources = [
|
|
"pdf_compositor_service_unittest.cc",
|
|
]
|
|
|
|
catalog = ":pdf_compositor_service_unittest_catalog"
|
|
|
|
include_dirs = [ "testing/gmock/include" ]
|
|
deps = [
|
|
":pdf_compositor_test_service",
|
|
"//base",
|
|
"//components/printing/service/public/interfaces",
|
|
"//mojo/common",
|
|
"//services/service_manager/public/cpp:service_test_support",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
]
|
|
}
|
|
|
|
service_manifest("pdf_compositor_service_unittest_manifest") {
|
|
name = "pdf_compositor_service_unittest"
|
|
source = "pdf_compositor_service_unittest_manifest.json"
|
|
}
|
|
|
|
catalog("pdf_compositor_service_unittest_catalog") {
|
|
testonly = true
|
|
embedded_services = [ ":pdf_compositor_service_unittest_manifest" ]
|
|
standalone_services = [ ":pdf_compositor_manifest" ]
|
|
}
|