OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("certificate_transparency") { | 5 source_set("certificate_transparency") { |
6 sources = [ | 6 sources = [ |
7 "ct_policy_manager.cc", | 7 "ct_policy_manager.cc", |
8 "ct_policy_manager.h", | 8 "ct_policy_manager.h", |
| 9 "log_dns_client.cc", |
| 10 "log_dns_client.h", |
9 "log_proof_fetcher.cc", | 11 "log_proof_fetcher.cc", |
10 "log_proof_fetcher.h", | 12 "log_proof_fetcher.h", |
11 "pref_names.cc", | 13 "pref_names.cc", |
12 "pref_names.h", | 14 "pref_names.h", |
13 "single_tree_tracker.cc", | 15 "single_tree_tracker.cc", |
14 "single_tree_tracker.h", | 16 "single_tree_tracker.h", |
15 "tree_state_tracker.cc", | 17 "tree_state_tracker.cc", |
16 "tree_state_tracker.h", | 18 "tree_state_tracker.h", |
17 ] | 19 ] |
18 | 20 |
19 deps = [ | 21 deps = [ |
20 "//base", | 22 "//base", |
| 23 "//components/base32", |
21 "//components/prefs", | 24 "//components/prefs", |
22 "//components/safe_json", | 25 "//components/safe_json", |
23 "//components/url_formatter", | 26 "//components/url_formatter", |
24 "//components/url_matcher", | 27 "//components/url_matcher", |
25 "//net", | 28 "//net", |
26 "//url", | 29 "//url", |
27 ] | 30 ] |
28 } | 31 } |
29 | 32 |
30 source_set("unit_tests") { | 33 source_set("unit_tests") { |
31 testonly = true | 34 testonly = true |
32 sources = [ | 35 sources = [ |
33 "ct_policy_manager_unittest.cc", | 36 "ct_policy_manager_unittest.cc", |
| 37 "log_dns_client_unittest.cc", |
34 "log_proof_fetcher_unittest.cc", | 38 "log_proof_fetcher_unittest.cc", |
35 "single_tree_tracker_unittest.cc", | 39 "single_tree_tracker_unittest.cc", |
36 ] | 40 ] |
37 | 41 |
38 deps = [ | 42 deps = [ |
39 ":certificate_transparency", | 43 ":certificate_transparency", |
40 "//base/test:test_support", | 44 "//base/test:test_support", |
41 "//components/prefs:test_support", | 45 "//components/prefs:test_support", |
42 "//components/safe_json:test_support", | 46 "//components/safe_json:test_support", |
43 "//net:test_support", | 47 "//net:test_support", |
| 48 "//testing/gmock", |
44 "//testing/gtest", | 49 "//testing/gtest", |
45 ] | 50 ] |
46 } | 51 } |
OLD | NEW |