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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
# Copyright 2018 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")
source_set("pup_data_base") {
sources = [
"pup_data.cc",
"pup_data.h",
"pup_disk_util.cc",
"pup_disk_util.h",
"uws_catalog.h",
]
deps = [
"//base:base",
"//chrome/chrome_cleaner/os:common_os",
"//chrome/chrome_cleaner/proto:shared_pup_enums_proto",
]
public_deps = [
"//chrome/chrome_cleaner/constants:uws_id",
"//chrome/chrome_cleaner/logging/proto:shared_data_proto",
"//chrome/chrome_cleaner/settings:matching_options",
]
}
source_set("cleaner_pup_util") {
sources = [
"pup_cleaner_util.cc",
"pup_cleaner_util.h",
]
deps = [
":pup_data_base",
"//base:base",
"//chrome/chrome_cleaner/constants:uws_id",
"//chrome/chrome_cleaner/os:cleaner_os",
"//chrome/chrome_cleaner/os:common_os",
]
public_deps = [
"//chrome/chrome_cleaner/logging/proto:shared_data_proto",
]
}
source_set("dummy_signatures") {
# This is not testonly because the real engine will be linked with these
# signatures when the private internal signatures are not available.
sources = [
"dummy_signatures.cc",
]
deps = [
":pup_data_base",
]
}
source_set("dynamic_pup") {
sources = [
"dynamic_pup.cc",
"dynamic_pup.h",
]
deps = [
":pup_data_base",
]
}
source_set("test_uws") {
sources = [
"test_uws.cc",
"test_uws.h",
]
deps = [
"//chrome/chrome_cleaner/constants:uws_id",
]
}
source_set("unittest_sources") {
testonly = true
sources = [
"dynamic_pup_unittest.cc",
"pup_cleaner_util_unittest.cc",
"pup_data_unittest.cc",
"pup_disk_util_unittest.cc",
]
deps = [
":cleaner_pup_util",
":dynamic_pup",
":pup_data_base",
"//base:base",
"//base/test:test_support",
"//chrome/chrome_cleaner/os:common_os",
"//chrome/chrome_cleaner/proto:shared_pup_enums_proto",
"//chrome/chrome_cleaner/strings",
"//chrome/chrome_cleaner/test:test_pup_data",
"//chrome/chrome_cleaner/test:test_util",
"//testing/gmock",
"//testing/gtest",
]
}
|