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
|
# Copyright 2016 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 = [
"env_mojo.cc",
"env_mojo.h",
"leveldb_database_impl.cc",
"leveldb_database_impl.h",
"leveldb_mojo_proxy.cc",
"leveldb_mojo_proxy.h",
"leveldb_service_impl.cc",
"leveldb_service_impl.h",
]
public_deps = [
"//components/services/filesystem/public/mojom",
"//components/services/leveldb/public/cpp",
"//components/services/leveldb/public/mojom",
]
deps = [
"//mojo/public/cpp/system",
"//third_party/leveldatabase",
]
}
test("leveldb_service_unittests") {
sources = [
"leveldb_mojo_unittest.cc",
"leveldb_service_unittest.cc",
"remote_iterator_unittest.cc",
]
deps = [
":lib",
"//base",
"//base/test:test_support",
"//components/services/filesystem:lib",
"//components/services/filesystem:test_support",
"//components/services/filesystem/public/mojom",
"//components/services/leveldb/public/cpp",
"//components/services/leveldb/public/mojom",
"//mojo/core/test:run_all_unittests",
"//mojo/public/cpp/bindings",
"//mojo/public/cpp/system",
"//testing/gtest",
"//third_party/leveldatabase",
]
}
|