| # Copyright 2020 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//net/features.gni") |
| |
| # This target provides a net::CertVerifier that transparently proxies cert |
| # verification requests over a Mojo connection to the actual service, which is |
| # implemented in terms of concrete implementations of net::CertVerifier. |
| source_set("mojo_cert_verifier") { |
| sources = [ |
| "mojo_cert_verifier.cc", |
| "mojo_cert_verifier.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//net", |
| "//services/network/public/mojom", |
| ] |
| } |
| |
| source_set("cert_verifier_tests") { |
| testonly = true |
| sources = [] |
| |
| deps = [ |
| ":mojo_cert_verifier", |
| "//base", |
| "//base/test:test_support", |
| "//mojo/public/cpp/test_support:test_utils", |
| "//net", |
| "//net:test_support", |
| "//services/network/public/mojom", |
| "//testing/gtest", |
| ] |
| |
| sources += [ |
| "cert_verifier_mojom_traits_unittest.cc", |
| "mojo_cert_verifier_unittest.cc", |
| ] |
| } |