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("safe_browsing") { | 5 source_set("safe_browsing") { |
6 sources = [ | 6 sources = [ |
7 "base_blocking_page.cc", | 7 "base_blocking_page.cc", |
8 "base_blocking_page.h", | 8 "base_blocking_page.h", |
9 "base_resource_throttle.cc", | 9 "base_resource_throttle.cc", |
10 "base_resource_throttle.h", | 10 "base_resource_throttle.h", |
11 "base_ui_manager.cc", | 11 "base_ui_manager.cc", |
12 "base_ui_manager.h", | 12 "base_ui_manager.h", |
13 ] | 13 ] |
14 | 14 |
15 deps = [ | 15 deps = [ |
| 16 ":base_ping_manager", |
16 "//base:base", | 17 "//base:base", |
17 "//base:i18n", | 18 "//base:i18n", |
18 "//components/safe_browsing_db:database_manager", | 19 "//components/safe_browsing_db:database_manager", |
19 "//components/safe_browsing_db:safe_browsing_prefs", | 20 "//components/safe_browsing_db:safe_browsing_prefs", |
20 "//components/security_interstitials/content:security_interstitial_page", | 21 "//components/security_interstitials/content:security_interstitial_page", |
21 "//components/security_interstitials/core:core", | 22 "//components/security_interstitials/core:core", |
22 "//components/subresource_filter/content/browser:browser", | 23 "//components/subresource_filter/content/browser:browser", |
23 "//content/public/browser:browser", | 24 "//content/public/browser:browser", |
24 "//content/public/common:common", | 25 "//content/public/common:common", |
25 "//net:net", | 26 "//net:net", |
26 ] | 27 ] |
27 } | 28 } |
| 29 |
| 30 static_library("base_ping_manager") { |
| 31 sources = [ |
| 32 "base_ping_manager.cc", |
| 33 "base_ping_manager.h", |
| 34 ] |
| 35 |
| 36 public_deps = [ |
| 37 "//google_apis:google_apis", |
| 38 ] |
| 39 |
| 40 deps = [ |
| 41 "//base:base", |
| 42 "//components/data_use_measurement/core:core", |
| 43 "//components/safe_browsing_db:hit_report", |
| 44 "//components/safe_browsing_db:util", |
| 45 "//content/public/browser:browser", |
| 46 "//net:net", |
| 47 ] |
| 48 } |
| 49 |
| 50 source_set("base_ping_manager_unittest") { |
| 51 testonly = true |
| 52 sources = [ |
| 53 "base_ping_manager_unittest.cc", |
| 54 ] |
| 55 |
| 56 deps = [ |
| 57 ":base_ping_manager", |
| 58 "//base:base", |
| 59 "//net:net", |
| 60 "//net:test_support", |
| 61 "//testing/gtest", |
| 62 ] |
| 63 } |
OLD | NEW |