| # 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 = [ |
| "sandbox_setup.cc", |
| "sandbox_setup.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//chrome/chrome_cleaner/constants:common_strings", |
| "//chrome/chrome_cleaner/ipc:mojo_task_runner", |
| "//chrome/chrome_cleaner/ipc:sandbox", |
| "//chrome/chrome_cleaner/mojom:zip_archiver_interface", |
| "//components/chrome_cleaner/public/constants:constants", |
| "//mojo/public/cpp/system:system", |
| "//sandbox/win:sandbox", |
| ] |
| } |
| |
| source_set("unittest_sources") { |
| testonly = true |
| |
| sources = [ |
| "sandbox_setup_unittest.cc", |
| ] |
| |
| deps = [ |
| ":common", |
| "//base", |
| "//base/test:test_support", |
| "//chrome/chrome_cleaner/mojom:zip_archiver_interface", |
| "//chrome/chrome_cleaner/zip_archiver:test_support", |
| "//chrome/chrome_cleaner/zip_archiver/target:common", |
| "//mojo/public/cpp/system:system", |
| "//sandbox/win:sandbox", |
| "//testing/gtest", |
| ] |
| } |