Chromium Code Reviews| 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", | 9 "log_dns_client.cc", |
| 10 "log_dns_client.h", | 10 "log_dns_client.h", |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 23 "//components/base32", | 23 "//components/base32", |
| 24 "//components/prefs", | 24 "//components/prefs", |
| 25 "//components/safe_json", | 25 "//components/safe_json", |
| 26 "//components/url_formatter", | 26 "//components/url_formatter", |
| 27 "//components/url_matcher", | 27 "//components/url_matcher", |
| 28 "//net", | 28 "//net", |
| 29 "//url", | 29 "//url", |
| 30 ] | 30 ] |
| 31 } | 31 } |
| 32 | 32 |
| 33 source_set("test_support") { | |
|
Eran Messeri
2016/07/21 14:47:02
I suggest adding the mock_log_dns_traffic files to
Rob Percival
2016/07/21 15:27:19
Done.
| |
| 34 testonly = true | |
| 35 sources = [ | |
| 36 "mock_log_dns_traffic.cc", | |
| 37 "mock_log_dns_traffic.h", | |
| 38 ] | |
| 39 public_deps = [ | |
| 40 ":certificate_transparency", | |
| 41 ] | |
| 42 deps = [ | |
| 43 "//base", | |
| 44 "//net", | |
| 45 "//net:test_support", | |
| 46 "//testing/gtest", | |
| 47 ] | |
| 48 } | |
| 49 | |
| 33 source_set("unit_tests") { | 50 source_set("unit_tests") { |
| 34 testonly = true | 51 testonly = true |
| 35 sources = [ | 52 sources = [ |
| 36 "ct_policy_manager_unittest.cc", | 53 "ct_policy_manager_unittest.cc", |
| 37 "log_dns_client_unittest.cc", | 54 "log_dns_client_unittest.cc", |
| 38 "log_proof_fetcher_unittest.cc", | 55 "log_proof_fetcher_unittest.cc", |
| 39 "single_tree_tracker_unittest.cc", | 56 "single_tree_tracker_unittest.cc", |
| 40 ] | 57 ] |
| 41 | |
| 42 deps = [ | 58 deps = [ |
| 43 ":certificate_transparency", | 59 ":test_support", |
| 44 "//base/test:test_support", | 60 "//base/test:test_support", |
| 45 "//components/prefs:test_support", | 61 "//components/prefs:test_support", |
| 46 "//components/safe_json:test_support", | 62 "//components/safe_json:test_support", |
| 47 "//net:test_support", | 63 "//net:test_support", |
| 48 "//testing/gmock", | 64 "//testing/gmock", |
| 49 "//testing/gtest", | 65 "//testing/gtest", |
| 50 ] | 66 ] |
| 51 } | 67 } |
| OLD | NEW |