blob: 03297f9d7690e2e76b25b28a4900cdbcf2fefa3a (
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
|
# 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.
source_set("leveldb_proto") {
sources = [
"leveldb_database.cc",
"leveldb_database.h",
"proto_database.h",
"proto_database_impl.h",
]
deps = [
"//base",
"//third_party/leveldatabase",
]
}
source_set("test_support") {
sources = [
"testing/fake_db.h",
]
public_deps = [
":leveldb_proto",
"//components/leveldb_proto/testing/proto",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"proto_database_impl_unittest.cc",
]
deps = [
":test_support",
"//testing/gmock",
"//testing/gtest",
]
}
|