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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Copyright 2014 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.
import("//testing/test.gni")
static_library("lib") {
sources = [
"directory_impl.cc",
"directory_impl.h",
"file_impl.cc",
"file_impl.h",
"lock_table.cc",
"lock_table.h",
"shared_temp_dir.cc",
"shared_temp_dir.h",
"util.cc",
"util.h",
]
deps = [
"//base",
"//components/services/filesystem/public/mojom",
"//mojo/public/cpp/system",
"//url",
]
}
if (!is_ios) {
source_set("test_support") {
testonly = true
sources = [
"directory_test_helper.cc",
"directory_test_helper.h",
]
deps = [ "//base/test:test_support" ]
public_deps = [
":lib",
"//base",
"//components/services/filesystem/public/mojom",
]
}
test("filesystem_service_unittests") {
sources = [
"directory_impl_unittest.cc",
"file_impl_unittest.cc",
]
deps = [
":lib",
":test_support",
"//base",
"//base/test:test_support",
"//components/services/filesystem/public/mojom",
"//mojo/core/test:run_all_unittests",
"//mojo/public/cpp/bindings",
"//mojo/public/cpp/system",
"//testing/gtest",
]
}
}
|