blob: e650e5a5f67c75b86f915a8ab18fba79a51723b3 [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.
static_library("common") {
sources = [
"sandboxed_zip_archiver.cc",
"sandboxed_zip_archiver.h",
]
deps = [
"//chrome/chrome_cleaner/constants:quarantine_constants",
"//chrome/chrome_cleaner/interfaces:zip_archiver_interface",
"//chrome/chrome_cleaner/ipc:mojo_task_runner",
"//chrome/chrome_cleaner/ipc:sandbox",
"//chrome/chrome_cleaner/os:common_os",
"//chrome/chrome_cleaner/zip_archiver/broker:common",
"//mojo/public/cpp/system:system",
]
}
source_set("test_support") {
testonly = true
sources = [
"test_zip_archiver_util.cc",
"test_zip_archiver_util.h",
]
deps = [
"//base:base",
"//testing/gtest",
"//third_party/zlib:minizip",
]
}
source_set("unittest_sources") {
testonly = true
sources = [
"sandboxed_zip_archiver_unittest.cc",
]
deps = [
"//base/test:test_support",
"//chrome/chrome_cleaner/constants:quarantine_constants",
"//chrome/chrome_cleaner/interfaces:zip_archiver_interface",
"//chrome/chrome_cleaner/ipc:mojo_task_runner",
"//chrome/chrome_cleaner/os:common_os",
"//chrome/chrome_cleaner/zip_archiver:common",
"//chrome/chrome_cleaner/zip_archiver:test_support",
"//chrome/chrome_cleaner/zip_archiver/broker:common",
"//chrome/chrome_cleaner/zip_archiver/target:common",
"//sandbox/win:sandbox",
"//testing/gtest",
# Tests from subdirs.
"//chrome/chrome_cleaner/zip_archiver/broker:unittest_sources",
"//chrome/chrome_cleaner/zip_archiver/target:unittest_sources",
]
}