blob: d0bb33f1e2d64a9ebdf9b6037b331c837a1fced6 (
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
|
# Copyright 2017 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.
source_set("lib") {
sources = [
"file_patcher_impl.cc",
"file_patcher_impl.h",
]
deps = [
"//base",
"//components/services/filesystem/public/mojom",
"//courgette:courgette_lib",
"//mojo/public/cpp/bindings",
]
public_deps = [ "//components/services/patch/public/mojom" ]
}
source_set("in_process") {
# NOTE: In-process file patching is unsafe! Unfortunately on iOS we have no
# other choice. On all other platforms, this target is restricted to tests.
testonly = !is_ios
sources = [
"in_process_file_patcher.cc",
"in_process_file_patcher.h",
]
deps = [ ":lib" ]
public_deps = [
"//components/services/patch/public/mojom",
"//mojo/public/cpp/bindings",
]
}
|