OLD | NEW |
---|---|
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("browser") { | 5 static_library("browser") { |
6 sources = [ | 6 sources = [ |
7 "activation_state_computing_navigation_throttle.cc", | 7 "activation_state_computing_navigation_throttle.cc", |
8 "activation_state_computing_navigation_throttle.h", | 8 "activation_state_computing_navigation_throttle.h", |
9 "async_document_subresource_filter.cc", | 9 "async_document_subresource_filter.cc", |
10 "async_document_subresource_filter.h", | 10 "async_document_subresource_filter.h", |
(...skipping 30 matching lines...) Expand all Loading... | |
41 public_deps = [ | 41 public_deps = [ |
42 "//ui/base", | 42 "//ui/base", |
43 ] | 43 ] |
44 } | 44 } |
45 | 45 |
46 static_library("test_support") { | 46 static_library("test_support") { |
47 testonly = true | 47 testonly = true |
48 sources = [ | 48 sources = [ |
49 "async_document_subresource_filter_test_utils.cc", | 49 "async_document_subresource_filter_test_utils.cc", |
50 "async_document_subresource_filter_test_utils.h", | 50 "async_document_subresource_filter_test_utils.h", |
51 "fake_safe_browsing_database_manager.cc", | |
52 "fake_safe_browsing_database_manager.h", | |
51 ] | 53 ] |
52 deps = [ | 54 deps = [ |
53 ":browser", | 55 ":browser", |
54 "//base/test:test_support", | 56 "//base/test:test_support", |
57 "//components/safe_browsing_db:test_database_manager", | |
engedy
2017/04/20 12:34:33
I'm not sure how strongly this is enforced, but so
Charlie Harrison
2017/04/20 15:55:20
Done.
| |
55 "//components/subresource_filter/core/common", | 58 "//components/subresource_filter/core/common", |
59 "//content/public/browser", | |
56 "//testing/gtest:gtest", | 60 "//testing/gtest:gtest", |
61 "//url", | |
57 ] | 62 ] |
58 } | 63 } |
59 | 64 |
60 source_set("unit_tests") { | 65 source_set("unit_tests") { |
61 testonly = true | 66 testonly = true |
62 sources = [ | 67 sources = [ |
63 "activation_state_computing_navigation_throttle_unittest.cc", | 68 "activation_state_computing_navigation_throttle_unittest.cc", |
64 "async_document_subresource_filter_unittest.cc", | 69 "async_document_subresource_filter_unittest.cc", |
65 "content_ruleset_service_unittest.cc", | 70 "content_ruleset_service_unittest.cc", |
66 "content_subresource_filter_driver_factory_unittest.cc", | 71 "content_subresource_filter_driver_factory_unittest.cc", |
(...skipping 12 matching lines...) Expand all Loading... | |
79 "//components/subresource_filter/core/browser", | 84 "//components/subresource_filter/core/browser", |
80 "//components/subresource_filter/core/browser:test_support", | 85 "//components/subresource_filter/core/browser:test_support", |
81 "//components/subresource_filter/core/common", | 86 "//components/subresource_filter/core/common", |
82 "//components/subresource_filter/core/common:test_support", | 87 "//components/subresource_filter/core/common:test_support", |
83 "//content/test:test_support", | 88 "//content/test:test_support", |
84 "//ipc", | 89 "//ipc", |
85 "//ipc:test_support", | 90 "//ipc:test_support", |
86 "//testing/gtest", | 91 "//testing/gtest", |
87 ] | 92 ] |
88 } | 93 } |
OLD | NEW |