blob: e0f4d20c1c67b326db3784a2a40382d2c976413c [file] [log] [blame]
# 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.
# Nothing outside //chrome/chrome_cleaner can depend on these targets.
visibility = [ "//chrome/chrome_cleaner/*" ]
source_set("signature_matcher_api") {
sources = [ "signature_matcher_api.h" ]
deps = [ "//base" ]
}
source_set("matcher_util") {
sources = [
"matcher_util.cc",
"matcher_util.h",
]
deps = [
"//base",
"//chrome/chrome_cleaner/constants:common_strings",
"//chrome/chrome_cleaner/os:common_os",
"//chrome/chrome_cleaner/scanner:signature_matcher_api",
"//chrome/chrome_cleaner/settings",
"//chrome/chrome_cleaner/strings",
]
}
source_set("signature_matcher") {
sources = [
"signature_matcher.cc",
"signature_matcher.h",
]
deps = [
":matcher_util",
":signature_matcher_api",
"//base",
"//chrome/chrome_cleaner/os:common_os",
]
}
source_set("scanner_api") {
sources = [ "scanner.h" ]
deps = [
"//base",
"//chrome/chrome_cleaner/constants:uws_id",
"//chrome/chrome_cleaner/logging/proto:shared_data_proto",
"//components/chrome_cleaner/public/constants",
]
}
source_set("reporter_scanner") {
sources = [
"scanner_controller.cc",
"scanner_controller.h",
]
deps = [
":signature_matcher",
"//base",
"//chrome/chrome_cleaner/chrome_utils:chrome_util_lib",
"//chrome/chrome_cleaner/crash:crash_keys",
"//chrome/chrome_cleaner/ipc:sandbox",
"//chrome/chrome_cleaner/logging:common",
"//chrome/chrome_cleaner/os:common_os",
"//chrome/chrome_cleaner/parsers/shortcut_parser/broker:shortcut_parser_api",
"//chrome/chrome_cleaner/pup_data:pup_data_base",
"//chrome/chrome_cleaner/scanner:signature_matcher_api",
"//chrome/chrome_cleaner/settings",
"//components/chrome_cleaner/public/constants:constants",
"//third_party/crashpad/crashpad/client",
"//third_party/crashpad/crashpad/util",
]
}
source_set("unittest_sources") {
testonly = true
sources = [
"matcher_util_unittest.cc",
"signature_matcher_unittest.cc",
]
deps = [
":matcher_util",
":signature_matcher",
"//base",
"//base/test:test_support",
"//chrome/chrome_cleaner/chrome_utils:chrome_util_lib",
"//chrome/chrome_cleaner/constants:common_strings",
"//chrome/chrome_cleaner/logging:common",
"//chrome/chrome_cleaner/logging:mock_logging_service",
"//chrome/chrome_cleaner/logging/proto:shared_data_proto",
"//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_strings",
"//chrome/chrome_cleaner/test:test_util",
"//chrome/chrome_cleaner/test/resources:test_resources",
"//components/chrome_cleaner/test:test_name_helper",
"//sandbox/win:sandbox",
"//testing/gmock",
"//testing/gtest",
]
}