summaryrefslogtreecommitdiff
path: root/chromium/components/cast_certificate/BUILD.gn
blob: 7e53f203f68a0eb21b6cf76e7d453199260c49b6 (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 2016 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("cast_certificate") {
  sources = [
    "cast_cert_validator.cc",
    "cast_cert_validator.h",
    "cast_root_ca_cert_der-inc.h",
    "eureka_root_ca_der-inc.h",
  ]
  deps = [
    "//base",
    "//net",
  ]
}

source_set("test_support") {
  testonly = true
  sources = [
    "cast_cert_validator_test_helpers.cc",
    "cast_cert_validator_test_helpers.h",
  ]
  deps = [
    ":cast_certificate",
    "//base",
    "//net",
    "//testing/gtest",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "cast_cert_validator_unittest.cc",
  ]
  deps = [
    ":cast_certificate",
    ":test_support",
    "//base",
    "//net",
    "//testing/gtest",
  ]
}