aboutsummaryrefslogtreecommitdiff
path: root/cast/common/certificate/BUILD.gn
blob: 65000c5da77d141b77925c074f00850243e10453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 2019 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("certificate") {
  sources = [
    "cast_cert_validator.cc",
    "cast_cert_validator.h",
    "cast_cert_validator_internal.cc",
    "cast_cert_validator_internal.h",
    "cast_crl.cc",
    "cast_crl.h",
    "types.cc",
    "types.h",
  ]
  public_deps = [
    "../../../third_party/boringssl",
  ]

  deps = [
    "../../../platform",
    "../../../third_party/abseil",
    "../../../util",
    "proto",
  ]
}

source_set("unittests") {
  testonly = true
  sources = [
    "cast_cert_validator_unittest.cc",
    "cast_crl_unittest.cc",
    "test_helpers.cc",
    "test_helpers.h",
  ]

  deps = [
    ":certificate",
    "../../../platform",
    "../../../third_party/boringssl",
    "../../../third_party/googletest:gtest",
    "proto:unittest_proto",
  ]
}