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