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