summaryrefslogtreecommitdiff
path: root/chromium/components/safe_browsing/password_protection/BUILD.gn
blob: a7be564812e0e0b3511343b118915ce1a8a72ab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("password_protection") {
  sources = [
    "password_protection_request.cc",
    "password_protection_request.h",
    "password_protection_service.cc",
    "password_protection_service.h",
  ]

  public_deps = [
    "//google_apis:google_apis",
  ]

  deps = [
    "//base:base",
    "//components/content_settings/core/browser:browser",
    "//components/data_use_measurement/core:core",
    "//components/history/core/browser:browser",
    "//components/safe_browsing:csd_proto",
    "//components/safe_browsing_db:database_manager",
    "//components/safe_browsing_db:v4_protocol_manager_util",
    "//content/public/browser:browser",
    "//net:net",
    "//third_party/protobuf:protobuf_lite",
  ]
}

source_set("password_protection_unittest") {
  testonly = true
  sources = [
    "password_protection_service_unittest.cc",
  ]
  deps = [
    ":password_protection",
    "//base",
    "//base/test:test_support",
    "//components/content_settings/core/browser:browser",
    "//components/history/core/browser:browser",
    "//components/safe_browsing_db:test_database_manager",
    "//components/sync_preferences:test_support",
    "//content/test:test_support",
    "//net:test_support",
    "//testing/gmock",
    "//testing/gtest",
    "//third_party/protobuf:protobuf_lite",
  ]
}