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

Side by Side Diff: components/leveldb/leveldb.gyp

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 | « components/leveldb/BUILD.gn ('k') | components/leveldb/leveldb_database_impl.h » ('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 { 5 {
6 'variables': { 6 'variables': {
7 # This turns on e.g. the filename-based detection of which 7 # This turns on e.g. the filename-based detection of which
8 # platforms to include source files on (e.g. files ending in 8 # platforms to include source files on (e.g. files ending in
9 # _mac.h or _mac.cc are only compiled on MacOSX). 9 # _mac.h or _mac.cc are only compiled on MacOSX).
10 'chromium_code': 1, 10 'chromium_code': 1,
11 }, 11 },
12 'targets': [ 12 'targets': [
13 { 13 {
14 # GN version: //components/leveldb:lib 14 # GN version: //components/leveldb:lib
15 'target_name': 'leveldb_lib', 15 'target_name': 'leveldb_lib',
16 'type': 'static_library', 16 'type': 'static_library',
17 'include_dirs': [ 17 'include_dirs': [
18 '../..', 18 '../..',
19 ], 19 ],
20 'sources': [ 20 'sources': [
21 'env_mojo.cc', 21 'env_mojo.cc',
22 'env_mojo.h', 22 'env_mojo.h',
23 'leveldb_database_impl.cc', 23 'leveldb_database_impl.cc',
24 'leveldb_database_impl.h', 24 'leveldb_database_impl.h',
25 'leveldb_mojo_proxy.cc', 25 'leveldb_mojo_proxy.cc',
26 'leveldb_mojo_proxy.h', 26 'leveldb_mojo_proxy.h',
27 'leveldb_service_impl.cc', 27 'leveldb_service_impl.cc',
28 'leveldb_service_impl.h', 28 'leveldb_service_impl.h',
29 'util.cc',
30 'util.h',
31 ], 29 ],
32 'dependencies': [ 30 'dependencies': [
33 'leveldb_bindings_mojom', 31 'leveldb_public_lib',
34 '../../components/filesystem/filesystem.gyp:filesystem_lib', 32 '../../components/filesystem/filesystem.gyp:filesystem_lib',
35 '../../mojo/mojo_base.gyp:mojo_application_base', 33 '../../mojo/mojo_base.gyp:mojo_application_base',
36 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', 34 '../../mojo/mojo_public.gyp:mojo_cpp_bindings',
37 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 35 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
38 ] 36 ]
39 }, 37 },
40 { 38 {
39 # GN version: //components/leveldb/public/cpp:cpp
40 'target_name': 'leveldb_public_lib',
41 'type': 'static_library',
42 'sources': [
43 'public/cpp/remote_iterator.cc',
44 'public/cpp/remote_iterator.h',
45 'public/cpp/util.cc',
46 'public/cpp/util.h',
47 ],
48 'dependencies': [
49 'leveldb_bindings_mojom',
50 '../../mojo/mojo_base.gyp:mojo_application_base',
51 '../../mojo/mojo_edk.gyp:mojo_system_impl',
52 '../../mojo/mojo_public.gyp:mojo_cpp_bindings',
53 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
54 ]
55 },
56 {
41 # GN version: //components/leveldb/public/interfaces 57 # GN version: //components/leveldb/public/interfaces
42 'target_name': 'leveldb_bindings', 58 'target_name': 'leveldb_bindings',
43 'type': 'static_library', 59 'type': 'static_library',
44 'dependencies': [ 60 'dependencies': [
45 'leveldb_bindings_mojom', 61 'leveldb_bindings_mojom',
46 ], 62 ],
47 }, 63 },
48 { 64 {
49 'target_name': 'leveldb_bindings_mojom', 65 'target_name': 'leveldb_bindings_mojom',
50 'type': 'none', 66 'type': 'none',
51 'variables': { 67 'variables': {
52 'mojom_files': [ 68 'mojom_files': [
53 'public/interfaces/leveldb.mojom', 69 'public/interfaces/leveldb.mojom',
54 ], 70 ],
55 }, 71 },
56 'dependencies': [ 72 'dependencies': [
57 '../../components/filesystem/filesystem.gyp:filesystem_bindings_mojom', 73 '../../components/filesystem/filesystem.gyp:filesystem_bindings_mojom',
58 ], 74 ],
59 'includes': [ 75 'includes': [
60 '../../mojo/mojom_bindings_generator_explicit.gypi', 76 '../../mojo/mojom_bindings_generator_explicit.gypi',
61 ], 77 ],
62 } 78 }
63 ], 79 ],
64 } 80 }
OLDNEW
« no previous file with comments | « components/leveldb/BUILD.gn ('k') | components/leveldb/leveldb_database_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698