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

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

Issue 1737933002: mojo leveldb: Get profile and leveldb connected to DOMStorageContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keeping up with the ToT Created 4 years, 9 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
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_app.cc',
24 'leveldb_app.h',
23 'leveldb_database_impl.cc', 25 'leveldb_database_impl.cc',
24 'leveldb_database_impl.h', 26 'leveldb_database_impl.h',
25 'leveldb_file_thread.cc', 27 'leveldb_file_thread.cc',
26 'leveldb_file_thread.h', 28 'leveldb_file_thread.h',
27 'leveldb_service_impl.cc', 29 'leveldb_service_impl.cc',
28 'leveldb_service_impl.h', 30 'leveldb_service_impl.h',
29 'util.cc', 31 'util.cc',
30 'util.h', 32 'util.h',
31 ], 33 ],
32 'dependencies': [ 34 'dependencies': [
33 'leveldb_bindings_mojom', 35 'leveldb_bindings_mojom',
34 '../../components/filesystem/filesystem.gyp:filesystem_lib', 36 '../../components/filesystem/filesystem.gyp:filesystem_lib',
35 '../../mojo/mojo_base.gyp:mojo_application_base', 37 '../../mojo/mojo_base.gyp:mojo_application_base',
38 '../../mojo/mojo_base.gyp:tracing_service',
36 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', 39 '../../mojo/mojo_public.gyp:mojo_cpp_bindings',
37 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 40 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
38 ] 41 ]
39 }, 42 },
40 { 43 {
41 # GN version: //components/leveldb/public/interfaces 44 # GN version: //components/leveldb/public/interfaces
42 'target_name': 'leveldb_bindings', 45 'target_name': 'leveldb_bindings',
43 'type': 'static_library', 46 'type': 'static_library',
44 'dependencies': [ 47 'dependencies': [
45 'leveldb_bindings_mojom', 48 'leveldb_bindings_mojom',
46 ], 49 ],
47 }, 50 },
48 { 51 {
49 'target_name': 'leveldb_bindings_mojom', 52 'target_name': 'leveldb_bindings_mojom',
50 'type': 'none', 53 'type': 'none',
51 'variables': { 54 'variables': {
52 'mojom_files': [ 55 'mojom_files': [
53 'public/interfaces/leveldb.mojom', 56 'public/interfaces/leveldb.mojom',
54 ], 57 ],
55 }, 58 },
56 'dependencies': [ 59 'dependencies': [
57 '../../components/filesystem/filesystem.gyp:filesystem_bindings_mojom', 60 '../../components/filesystem/filesystem.gyp:filesystem_bindings_mojom',
58 ], 61 ],
59 'includes': [ 62 'includes': [
60 '../../mojo/mojom_bindings_generator_explicit.gypi', 63 '../../mojo/mojom_bindings_generator_explicit.gypi',
61 ], 64 ],
62 } 65 }
63 ], 66 ],
64 } 67 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698