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

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

Issue 1720603002: Revert of mojo: Get mojo:leveldb and mojo:filesystem compiled into content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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_app.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 # This turns on e.g. the filename-based detection of which
8 # platforms to include source files on (e.g. files ending in
9 # _mac.h or _mac.cc are only compiled on MacOSX).
10 'chromium_code': 1,
11 },
12 'targets': [
13 {
14 # GN version: //components/leveldb:lib
15 'target_name': 'leveldb_lib',
16 'type': 'static_library',
17 'include_dirs': [
18 '../..',
19 ],
20 'sources': [
21 'env_mojo.cc',
22 'env_mojo.h',
23 'leveldb_database_impl.cc',
24 'leveldb_database_impl.h',
25 'leveldb_file_thread.cc',
26 'leveldb_file_thread.h',
27 'leveldb_service_impl.cc',
28 'leveldb_service_impl.h',
29 'util.cc',
30 'util.h',
31 ],
32 'dependencies': [
33 'leveldb_bindings_mojom',
34 '../../components/filesystem/filesystem.gyp:filesystem_lib',
35 '../../mojo/mojo_public.gyp:mojo_cpp_bindings',
36 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
37 ]
38 },
39 {
40 # GN version: //components/leveldb/public/interfaces
41 'target_name': 'leveldb_bindings',
42 'type': 'static_library',
43 'dependencies': [
44 'leveldb_bindings_mojom',
45 ],
46 },
47 {
48 'target_name': 'leveldb_bindings_mojom',
49 'type': 'none',
50 'variables': {
51 'mojom_files': [
52 'public/interfaces/leveldb.mojom',
53 ],
54 },
55 'dependencies': [
56 '../../components/filesystem/filesystem.gyp:filesystem_bindings_mojom',
57 ],
58 'includes': [
59 '../../mojo/mojom_bindings_generator_explicit.gypi',
60 ],
61 }
62 ],
63 }
OLDNEW
« no previous file with comments | « components/leveldb/BUILD.gn ('k') | components/leveldb/leveldb_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698