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

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

Issue 1861903002: mojo leveldb: Add an iteration interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + comments Created 4 years, 8 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 | « no previous file | components/leveldb/leveldb.gyp » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 import("//mojo/public/mojo_application_manifest.gni") 6 import("//mojo/public/mojo_application_manifest.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 source_set("lib") { 9 source_set("lib") {
10 sources = [ 10 sources = [
11 "env_mojo.cc", 11 "env_mojo.cc",
12 "env_mojo.h", 12 "env_mojo.h",
13 "leveldb_database_impl.cc", 13 "leveldb_database_impl.cc",
14 "leveldb_database_impl.h", 14 "leveldb_database_impl.h",
15 "leveldb_mojo_proxy.cc", 15 "leveldb_mojo_proxy.cc",
16 "leveldb_mojo_proxy.h", 16 "leveldb_mojo_proxy.h",
17 "leveldb_service_impl.cc", 17 "leveldb_service_impl.cc",
18 "leveldb_service_impl.h", 18 "leveldb_service_impl.h",
19 "util.cc",
20 "util.h",
21 ] 19 ]
22 20
23 deps = [ 21 deps = [
24 "//components/filesystem/public/interfaces", 22 "//components/filesystem/public/interfaces",
23 "//components/leveldb/public/cpp",
25 "//components/leveldb/public/interfaces", 24 "//components/leveldb/public/interfaces",
26 "//mojo/common", 25 "//mojo/common",
27 "//mojo/message_pump", 26 "//mojo/message_pump",
28 "//mojo/platform_handle", 27 "//mojo/platform_handle",
29 "//mojo/shell/public/cpp", 28 "//mojo/shell/public/cpp",
30 "//third_party/leveldatabase", 29 "//third_party/leveldatabase",
31 ] 30 ]
32 } 31 }
33 32
34 mojo_native_application("leveldb") { 33 mojo_native_application("leveldb") {
(...skipping 20 matching lines...) Expand all
55 } 54 }
56 55
57 mojo_application_manifest("manifest") { 56 mojo_application_manifest("manifest") {
58 application_name = "leveldb" 57 application_name = "leveldb"
59 source = "manifest.json" 58 source = "manifest.json"
60 } 59 }
61 60
62 test("leveldb_service_unittests") { 61 test("leveldb_service_unittests") {
63 sources = [ 62 sources = [
64 "leveldb_service_unittest.cc", 63 "leveldb_service_unittest.cc",
64 "remote_iterator_unittest.cc",
65 ] 65 ]
66 66
67 deps = [ 67 deps = [
68 "//base", 68 "//base",
69 "//components/filesystem/public/interfaces", 69 "//components/filesystem/public/interfaces",
70 "//components/leveldb/public/cpp",
70 "//components/leveldb/public/interfaces", 71 "//components/leveldb/public/interfaces",
71 "//mojo/common", 72 "//mojo/common",
72 "//mojo/platform_handle", 73 "//mojo/platform_handle",
73 "//mojo/public/cpp/bindings", 74 "//mojo/public/cpp/bindings",
74 "//mojo/shell/public/cpp:shell_test_support", 75 "//mojo/shell/public/cpp:shell_test_support",
75 "//mojo/shell/public/cpp:sources", 76 "//mojo/shell/public/cpp:sources",
76 "//mojo/shell/public/cpp/test:run_all_shelltests", 77 "//mojo/shell/public/cpp/test:run_all_shelltests",
78 "//third_party/leveldatabase",
77 ] 79 ]
78 80
79 data_deps = [ 81 data_deps = [
80 ":test_manifest", 82 ":test_manifest",
81 ":leveldb", 83 ":leveldb",
82 "//components/filesystem:filesystem", 84 "//components/filesystem:filesystem",
83 ] 85 ]
84 } 86 }
85 87
86 mojo_application_manifest("test_manifest") { 88 mojo_application_manifest("test_manifest") {
87 type = "exe" 89 type = "exe"
88 application_name = "leveldb_service_unittests" 90 application_name = "leveldb_service_unittests"
89 source = "test_manifest.json" 91 source = "test_manifest.json"
90 } 92 }
OLDNEW
« no previous file with comments | « no previous file | components/leveldb/leveldb.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698