blob: dc6d5e6e430c09794f6e646dd86bcfe2f0149717 [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("chrome_util_lib") {
sources = [
"chrome_util.cc",
"chrome_util.h",
]
deps = [
"//base",
"//chrome/chrome_cleaner/os:common_os",
"//components/chrome_cleaner/public/constants:constants",
]
}
source_set("extensions_util_lib") {
sources = [
"extensions_util.cc",
"extensions_util.h",
]
deps = [
":chrome_util_lib",
":force_installed_extension",
"//base",
"//chrome/chrome_cleaner/logging/proto:shared_data_proto",
"//chrome/chrome_cleaner/os:common_os",
"//chrome/chrome_cleaner/parsers/json_parser",
"//chrome/chrome_cleaner/parsers/json_parser:json_splicer",
"//chrome/chrome_cleaner/parsers/parser_utils:parse_tasks_remaining_counter",
]
}
source_set("force_installed_extension") {
sources = [
"force_installed_extension.cc",
"force_installed_extension.h",
]
deps = [ ":extension_id" ]
public_deps = [ "//chrome/chrome_cleaner/logging/proto:shared_data_proto" ]
all_dependent_configs = [ "//third_party/protobuf:using_proto" ]
}
source_set("extension_file_logger_lib") {
sources = [
"extension_file_logger.cc",
"extension_file_logger.h",
]
deps = [
"//base",
"//chrome/chrome_cleaner/os:common_os",
]
}
source_set("unittest_sources") {
testonly = true
sources = [
"extension_file_logger_unittest.cc",
"extensions_util_unittest.cc",
]
deps = [
":extension_file_logger_lib",
":extensions_util_lib",
"//base",
"//base/test:test_support",
"//chrome/chrome_cleaner/os:common_os",
"//chrome/chrome_cleaner/parsers/json_parser",
"//chrome/chrome_cleaner/test:test_extensions",
"//chrome/chrome_cleaner/test:test_util",
"//testing/gtest",
]
}
source_set("extension_id") {
sources = [
"extension_id.cc",
"extension_id.h",
]
deps = [ "//base" ]
}