| # 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/*" ] |
| |
| static_library("common") { |
| sources = [ |
| "sandboxed_zip_archiver.cc", |
| "sandboxed_zip_archiver.h", |
| "zip_archiver.h", |
| ] |
| |
| deps = [ |
| "//chrome/chrome_cleaner/constants:quarantine_constants", |
| "//chrome/chrome_cleaner/ipc:mojo_task_runner", |
| "//chrome/chrome_cleaner/ipc:sandbox", |
| "//chrome/chrome_cleaner/mojom:zip_archiver_interface", |
| "//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", |
| "//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/ipc:mojo_task_runner", |
| "//chrome/chrome_cleaner/mojom:zip_archiver_interface", |
| "//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", |
| ] |
| } |