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("renderer") { | 5 static_library("renderer") { |
6 sources = [ | 6 sources = [ |
7 "subresource_filter_agent.cc", | 7 "subresource_filter_agent.cc", |
8 "subresource_filter_agent.h", | 8 "subresource_filter_agent.h", |
9 "unverified_ruleset_dealer.cc", | 9 "unverified_ruleset_dealer.cc", |
10 "unverified_ruleset_dealer.h", | 10 "unverified_ruleset_dealer.h", |
| 11 "web_document_subresource_filter_impl.cc", |
| 12 "web_document_subresource_filter_impl.h", |
11 ] | 13 ] |
12 deps = [ | 14 deps = [ |
13 "//base", | 15 "//base", |
14 "//components/subresource_filter/content/common", | 16 "//components/subresource_filter/content/common", |
15 "//components/subresource_filter/core/common", | 17 "//components/subresource_filter/core/common", |
16 "//content/public/common", | 18 "//content/public/common", |
17 "//content/public/renderer", | 19 "//content/public/renderer", |
18 "//ipc", | 20 "//ipc", |
19 "//third_party/WebKit/public:blink", | 21 "//third_party/WebKit/public:blink", |
| 22 "//url", |
20 ] | 23 ] |
21 } | 24 } |
22 | 25 |
23 source_set("unit_tests") { | 26 source_set("unit_tests") { |
24 testonly = true | 27 testonly = true |
25 sources = [ | 28 sources = [ |
26 "subresource_filter_agent_unittest.cc", | 29 "subresource_filter_agent_unittest.cc", |
27 ] | 30 ] |
28 deps = [ | 31 deps = [ |
29 ":renderer", | 32 ":renderer", |
30 "//base", | 33 "//base", |
31 "//base/test:test_support", | 34 "//base/test:test_support", |
32 "//components/subresource_filter/content/common", | 35 "//components/subresource_filter/content/common", |
33 "//components/subresource_filter/core/common", | 36 "//components/subresource_filter/core/common", |
34 "//components/subresource_filter/core/common:test_support", | 37 "//components/subresource_filter/core/common:test_support", |
35 "//testing/gmock", | 38 "//testing/gmock", |
36 "//testing/gtest", | 39 "//testing/gtest", |
37 "//third_party/WebKit/public:blink", | 40 "//third_party/WebKit/public:blink", |
38 "//url", | 41 "//url", |
39 ] | 42 ] |
40 } | 43 } |
OLD | NEW |