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