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
45
46
47
48
49
50
51
52
|
# Copyright 2015 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.
static_library("certificate_transparency") {
sources = [
"ct_policy_manager.cc",
"ct_policy_manager.h",
"log_dns_client.cc",
"log_dns_client.h",
"log_proof_fetcher.cc",
"log_proof_fetcher.h",
"pref_names.cc",
"pref_names.h",
"single_tree_tracker.cc",
"single_tree_tracker.h",
"tree_state_tracker.cc",
"tree_state_tracker.h",
]
deps = [
"//base",
"//components/base32",
"//components/prefs",
"//components/safe_json",
"//components/url_formatter",
"//components/url_matcher",
"//net",
"//url",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"ct_policy_manager_unittest.cc",
"log_dns_client_unittest.cc",
"log_proof_fetcher_unittest.cc",
"mock_log_dns_traffic.cc",
"mock_log_dns_traffic.h",
"single_tree_tracker_unittest.cc",
]
deps = [
":certificate_transparency",
"//base/test:test_support",
"//components/prefs:test_support",
"//components/safe_json:test_support",
"//net:test_support",
"//testing/gmock",
"//testing/gtest",
]
}
|