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
51
52
53
54
55
56
57
|
# 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.
import("//third_party/protobuf/proto_library.gni")
static_library("web_ui") {
sources = [
"safe_browsing_ui.cc",
"safe_browsing_ui.h",
]
deps = [
":constants",
"//base",
"//components/password_manager/core/browser:hash_password_manager",
"//components/resources:components_resources_grit",
"//components/resources:components_scaled_resources_grit",
"//components/safe_browsing:buildflags",
"//components/safe_browsing:csd_proto",
"//components/safe_browsing:features",
"//components/safe_browsing/browser:network_context",
"//components/safe_browsing/browser:referrer_chain_provider",
"//components/safe_browsing/common:safe_browsing_prefs",
"//components/safe_browsing/db:v4_local_database_manager",
"//components/strings:components_strings_grit",
"//components/sync/protocol:protocol",
"//components/user_prefs:user_prefs",
"//content/public/browser",
"//net",
"//url",
]
public_deps = [
"//components/safe_browsing:webui_proto",
]
}
static_library("constants") {
sources = [
"constants.cc",
"constants.h",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"safe_browsing_ui_unittest.cc",
]
deps = [
":web_ui",
"//content/test:test_support",
"//testing/gtest",
]
}
|