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", | |
11 "log_proof_fetcher.cc", | 9 "log_proof_fetcher.cc", |
12 "log_proof_fetcher.h", | 10 "log_proof_fetcher.h", |
13 "pref_names.cc", | 11 "pref_names.cc", |
14 "pref_names.h", | 12 "pref_names.h", |
15 "single_tree_tracker.cc", | 13 "single_tree_tracker.cc", |
16 "single_tree_tracker.h", | 14 "single_tree_tracker.h", |
17 "tree_state_tracker.cc", | 15 "tree_state_tracker.cc", |
18 "tree_state_tracker.h", | 16 "tree_state_tracker.h", |
19 ] | 17 ] |
20 | 18 |
21 deps = [ | 19 deps = [ |
22 "//base", | 20 "//base", |
23 "//components/base32", | |
24 "//components/prefs", | 21 "//components/prefs", |
25 "//components/safe_json", | 22 "//components/safe_json", |
26 "//components/url_formatter", | 23 "//components/url_formatter", |
27 "//components/url_matcher", | 24 "//components/url_matcher", |
28 "//net", | 25 "//net", |
29 "//url", | 26 "//url", |
30 ] | 27 ] |
31 } | 28 } |
32 | 29 |
33 source_set("unit_tests") { | 30 source_set("unit_tests") { |
34 testonly = true | 31 testonly = true |
35 sources = [ | 32 sources = [ |
36 "ct_policy_manager_unittest.cc", | 33 "ct_policy_manager_unittest.cc", |
37 "log_dns_client_unittest.cc", | |
38 "log_proof_fetcher_unittest.cc", | 34 "log_proof_fetcher_unittest.cc", |
39 "single_tree_tracker_unittest.cc", | 35 "single_tree_tracker_unittest.cc", |
40 ] | 36 ] |
41 | 37 |
42 deps = [ | 38 deps = [ |
43 ":certificate_transparency", | 39 ":certificate_transparency", |
44 "//base/test:test_support", | 40 "//base/test:test_support", |
45 "//components/prefs:test_support", | 41 "//components/prefs:test_support", |
46 "//components/safe_json:test_support", | 42 "//components/safe_json:test_support", |
47 "//net:test_support", | 43 "//net:test_support", |
48 "//testing/gmock", | |
49 "//testing/gtest", | 44 "//testing/gtest", |
50 ] | 45 ] |
51 } | 46 } |
OLD | NEW |