mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
44 lines
807 B
Plaintext
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",
|
||
|
]
|
||
|
}
|