| 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 import("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
| 6 | 6 |
| 7 proto_library("csd_proto") { | 7 proto_library("csd_proto") { |
| 8 sources = [ | 8 sources = [ |
| 9 "csd.proto", | 9 "csd.proto", |
| 10 ] | 10 ] |
| 11 } | 11 } |
| 12 | 12 |
| 13 source_set("safe_browsing") { | 13 source_set("safe_browsing") { |
| 14 sources = [ | 14 sources = [ |
| 15 "base_blocking_page.cc", | 15 "base_blocking_page.cc", |
| 16 "base_blocking_page.h", | 16 "base_blocking_page.h", |
| 17 "base_resource_throttle.cc", | |
| 18 "base_resource_throttle.h", | |
| 19 "base_ui_manager.cc", | 17 "base_ui_manager.cc", |
| 20 "base_ui_manager.h", | 18 "base_ui_manager.h", |
| 19 "request_checker.cc", |
| 20 "request_checker.h", |
| 21 "resource_throttle.cc", |
| 22 "resource_throttle.h", |
| 21 ] | 23 ] |
| 22 | 24 |
| 23 deps = [ | 25 deps = [ |
| 24 ":base_ping_manager", | 26 ":base_ping_manager", |
| 25 "//base:base", | 27 "//base:base", |
| 26 "//base:i18n", | 28 "//base:i18n", |
| 27 "//components/safe_browsing/common:safe_browsing_prefs", | 29 "//components/safe_browsing/common:safe_browsing_prefs", |
| 28 "//components/safe_browsing_db:database_manager", | 30 "//components/safe_browsing_db:database_manager", |
| 29 "//components/security_interstitials/content:security_interstitial_page", | 31 "//components/security_interstitials/content:security_interstitial_page", |
| 30 "//components/security_interstitials/core:core", | 32 "//components/security_interstitials/core:core", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 61 ] | 63 ] |
| 62 | 64 |
| 63 deps = [ | 65 deps = [ |
| 64 ":base_ping_manager", | 66 ":base_ping_manager", |
| 65 "//base:base", | 67 "//base:base", |
| 66 "//net:net", | 68 "//net:net", |
| 67 "//net:test_support", | 69 "//net:test_support", |
| 68 "//testing/gtest", | 70 "//testing/gtest", |
| 69 ] | 71 ] |
| 70 } | 72 } |
| 73 |
| 74 source_set("request_checker_unittest") { |
| 75 testonly = true |
| 76 sources = [ |
| 77 "request_checker_unittest.cc", |
| 78 ] |
| 79 |
| 80 deps = [ |
| 81 ":safe_browsing", |
| 82 "//base:base", |
| 83 "//components/safe_browsing_db:database_manager", |
| 84 "//components/safe_browsing_db:hit_report", |
| 85 "//components/security_interstitials/content:security_interstitial_page", |
| 86 "//content/public/common:common", |
| 87 "//content/test:test_support", |
| 88 "//net:net", |
| 89 "//net:test_support", |
| 90 "//testing/gtest", |
| 91 ] |
| 92 } |
| OLD | NEW |