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