OLD | NEW |
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_file_thread.cc', | 25 'leveldb_mojo_proxy.cc', |
26 'leveldb_file_thread.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', | 29 'util.cc', |
30 'util.h', | 30 'util.h', |
31 ], | 31 ], |
32 'dependencies': [ | 32 'dependencies': [ |
33 'leveldb_bindings_mojom', | 33 'leveldb_bindings_mojom', |
34 '../../components/filesystem/filesystem.gyp:filesystem_lib', | 34 '../../components/filesystem/filesystem.gyp:filesystem_lib', |
35 '../../mojo/mojo_base.gyp:mojo_application_base', | 35 '../../mojo/mojo_base.gyp:mojo_application_base', |
36 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', | 36 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
(...skipping 18 matching lines...) Expand all Loading... |
55 }, | 55 }, |
56 'dependencies': [ | 56 'dependencies': [ |
57 '../../components/filesystem/filesystem.gyp:filesystem_bindings_mojom', | 57 '../../components/filesystem/filesystem.gyp:filesystem_bindings_mojom', |
58 ], | 58 ], |
59 'includes': [ | 59 'includes': [ |
60 '../../mojo/mojom_bindings_generator_explicit.gypi', | 60 '../../mojo/mojom_bindings_generator_explicit.gypi', |
61 ], | 61 ], |
62 } | 62 } |
63 ], | 63 ], |
64 } | 64 } |
OLD | NEW |