blob: ff80235e0f22f42bbab2e4b56a3c7f0a7e59cbb8 [file] [log] [blame]
ntfschra3234332016-12-22 01:15:421# Copyright 2016 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
jialiul2e3385f2017-03-10 00:09:345import("//third_party/protobuf/proto_library.gni")
6
7proto_library("csd_proto") {
8 sources = [
9 "csd.proto",
10 ]
11}
12
ntfschra3234332016-12-22 01:15:4213source_set("safe_browsing") {
14 sources = [
jialiul3d6032e2017-01-12 00:41:3115 "base_blocking_page.cc",
16 "base_blocking_page.h",
17 "base_resource_throttle.cc",
18 "base_resource_throttle.h",
ntfschra3234332016-12-22 01:15:4219 "base_ui_manager.cc",
20 "base_ui_manager.h",
21 ]
22
23 deps = [
jialiuld06419a2017-02-27 19:40:1124 ":base_ping_manager",
ntfschra3234332016-12-22 01:15:4225 "//base:base",
jialiul3d6032e2017-01-12 00:41:3126 "//base:i18n",
ntfschr6c7b5cf2017-01-10 21:13:1427 "//components/safe_browsing_db:database_manager",
jialiul3d6032e2017-01-12 00:41:3128 "//components/safe_browsing_db:safe_browsing_prefs",
jialiula2c069252017-01-05 18:13:0429 "//components/security_interstitials/content:security_interstitial_page",
jialiul3d6032e2017-01-12 00:41:3130 "//components/security_interstitials/core:core",
ntfschr6c7b5cf2017-01-10 21:13:1431 "//components/subresource_filter/content/browser:browser",
ntfschra3234332016-12-22 01:15:4232 "//content/public/browser:browser",
ntfschr6c7b5cf2017-01-10 21:13:1433 "//content/public/common:common",
34 "//net:net",
ntfschra3234332016-12-22 01:15:4235 ]
36}
jialiuld06419a2017-02-27 19:40:1137
38static_library("base_ping_manager") {
39 sources = [
40 "base_ping_manager.cc",
41 "base_ping_manager.h",
42 ]
43
44 public_deps = [
45 "//google_apis:google_apis",
46 ]
47
48 deps = [
49 "//base:base",
50 "//components/data_use_measurement/core:core",
51 "//components/safe_browsing_db:hit_report",
52 "//components/safe_browsing_db:util",
53 "//content/public/browser:browser",
54 "//net:net",
55 ]
56}
57
58source_set("base_ping_manager_unittest") {
59 testonly = true
60 sources = [
61 "base_ping_manager_unittest.cc",
62 ]
63
64 deps = [
65 ":base_ping_manager",
66 "//base:base",
67 "//net:net",
68 "//net:test_support",
69 "//testing/gtest",
70 ]
71}