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 source_set("common") { | 5 source_set("common") { |
6 sources = [ | 6 sources = [ |
7 "safebrowsing_constants.cc", | 7 "safebrowsing_constants.cc", |
8 "safebrowsing_constants.h", | 8 "safebrowsing_constants.h", |
9 "safebrowsing_message_generator.cc", | 9 "safebrowsing_message_generator.cc", |
10 "safebrowsing_message_generator.h", | 10 "safebrowsing_message_generator.h", |
11 "safebrowsing_messages.h", | 11 "safebrowsing_messages.h", |
12 "safebrowsing_switches.cc", | 12 "safebrowsing_switches.cc", |
13 "safebrowsing_switches.h", | 13 "safebrowsing_switches.h", |
14 "safebrowsing_types.h", | 14 "safebrowsing_types.h", |
15 ] | 15 ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 "//base", | 18 "//base", |
19 "//ipc", | 19 "//ipc", |
20 "//url/ipc:url_ipc", | 20 "//url/ipc:url_ipc", |
21 ] | 21 ] |
22 } | 22 } |
| 23 |
| 24 static_library("safe_browsing_prefs") { |
| 25 sources = [ |
| 26 "safe_browsing_prefs.cc", |
| 27 "safe_browsing_prefs.h", |
| 28 ] |
| 29 deps = [ |
| 30 "//base:base", |
| 31 "//components/prefs", |
| 32 ] |
| 33 } |
| 34 |
| 35 source_set("unit_tests") { |
| 36 testonly = true |
| 37 sources = [ |
| 38 "safe_browsing_prefs_unittest.cc", |
| 39 ] |
| 40 deps = [ |
| 41 ":safe_browsing_prefs", |
| 42 "//base:base", |
| 43 "//base/test:test_support", |
| 44 "//components/prefs:test_support", |
| 45 "//testing/gtest", |
| 46 ] |
| 47 } |
OLD | NEW |