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
|
# Copyright 2020 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("safety_check") {
sources = [
"safety_check.cc",
"safety_check.h",
"update_check_helper.cc",
"update_check_helper.h",
"url_constants.cc",
"url_constants.h",
]
deps = [
"//base",
"//components/prefs",
"//components/safe_browsing/core/common:safe_browsing_prefs",
"//net",
"//services/network/public/cpp",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "update_check_helper_unittest.cc" ]
deps = [
":safety_check",
"//content/test:test_support",
"//services/network:test_support",
"//services/network/public/cpp",
"//testing/gtest",
]
}
source_set("test_support") {
testonly = true
sources = [
"test_update_check_helper.cc",
"test_update_check_helper.h",
]
deps = [ ":safety_check" ]
}
|