naiveproxy/components/leveldb_proto/BUILD.gn
2018-12-09 21:59:24 -05:00

44 lines
807 B
Plaintext

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