blob: c3a2a899cd6c865d9e6866dd3e3f564353587572 [file] [log] [blame]
# Copyright 2020 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.
source_set("lib") {
sources = [
"cert_verifier_service.cc",
"cert_verifier_service.h",
"cert_verifier_service_factory.cc",
"cert_verifier_service_factory.h",
]
deps = [
"//base",
"//net",
"//services/cert_verifier/cert_net_url_loader",
"//services/network/public/cpp/cert_verifier:cert_verifier_creation",
]
public_deps = [
"//services/cert_verifier/public/mojom",
"//services/network/public/mojom",
]
}
source_set("tests") {
testonly = true
sources = [
"cert_verifier_service_factory_unittest.cc",
"cert_verifier_service_unittest.cc",
]
deps = [
":lib",
"//base",
"//base/test:test_support",
"//net",
"//net:test_support",
"//services/cert_verifier/public/mojom",
"//services/network:test_support",
"//services/network/public/mojom",
"//testing/gtest",
]
}
source_set("test_support") {
testonly = true
sources = [
"test_cert_verifier_service_factory.cc",
"test_cert_verifier_service_factory.h",
]
deps = [
":lib",
"//base",
"//net",
]
}