summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/chrome_cleaner/zip_archiver/broker/BUILD.gn
blob: 31fa16964a33c3822e23ec331887536a9d89435a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# 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",
  ]
}