Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: components/leveldb_proto/BUILD.gn

Issue 1311623002: Add more components_unittests to GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/json_schema/BUILD.gn ('k') | components/metrics/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 source_set("leveldb_proto") { 5 source_set("leveldb_proto") {
6 sources = [ 6 sources = [
7 "leveldb_database.cc", 7 "leveldb_database.cc",
8 "leveldb_database.h", 8 "leveldb_database.h",
9 "proto_database.h", 9 "proto_database.h",
10 "proto_database_impl.h", 10 "proto_database_impl.h",
11 ] 11 ]
12 12
13 deps = [ 13 deps = [
14 "//base", 14 "//base",
15 "//third_party/leveldatabase", 15 "//third_party/leveldatabase",
16 ] 16 ]
17 } 17 }
18 18
19 source_set("test_support") { 19 source_set("test_support") {
20 sources = [ 20 sources = [
21 "testing/fake_db.h", 21 "testing/fake_db.h",
22 ] 22 ]
23 23
24 deps = [ 24 public_deps = [
25 ":leveldb_proto", 25 ":leveldb_proto",
26 "//components/leveldb_proto/testing/proto", 26 "//components/leveldb_proto/testing/proto",
27 ] 27 ]
28 } 28 }
29
30 source_set("unit_tests") {
31 testonly = true
32 sources = [
33 "proto_database_impl_unittest.cc",
34 ]
35 deps = [
36 ":test_support",
37 "//testing/gmock",
38 "//testing/gtest",
39 ]
40 }
OLDNEW
« no previous file with comments | « components/json_schema/BUILD.gn ('k') | components/metrics/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698