| 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, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 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 ], | 29 ], |
| 30 'dependencies': [ | 30 'dependencies': [ |
| 31 'leveldb_public_lib', | 31 'leveldb_public_lib', |
| 32 '../../components/filesystem/filesystem.gyp:filesystem_lib', | 32 '../../components/filesystem/filesystem.gyp:filesystem_lib', |
| 33 '../../mojo/mojo_base.gyp:mojo_application_base', | |
| 34 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', | 33 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 34 '../../services/shell/shell.gyp:shell_public', |
| 35 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 35 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
| 36 ] | 36 ] |
| 37 }, | 37 }, |
| 38 { | 38 { |
| 39 # GN version: //components/leveldb/public/cpp:cpp | 39 # GN version: //components/leveldb/public/cpp:cpp |
| 40 'target_name': 'leveldb_public_lib', | 40 'target_name': 'leveldb_public_lib', |
| 41 'type': 'static_library', | 41 'type': 'static_library', |
| 42 'sources': [ | 42 'sources': [ |
| 43 'public/cpp/remote_iterator.cc', | 43 'public/cpp/remote_iterator.cc', |
| 44 'public/cpp/remote_iterator.h', | 44 'public/cpp/remote_iterator.h', |
| 45 'public/cpp/util.cc', | 45 'public/cpp/util.cc', |
| 46 'public/cpp/util.h', | 46 'public/cpp/util.h', |
| 47 ], | 47 ], |
| 48 'dependencies': [ | 48 'dependencies': [ |
| 49 'leveldb_bindings_mojom', | 49 'leveldb_bindings_mojom', |
| 50 '../../mojo/mojo_base.gyp:mojo_application_base', | |
| 51 '../../mojo/mojo_edk.gyp:mojo_system_impl', | 50 '../../mojo/mojo_edk.gyp:mojo_system_impl', |
| 52 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', | 51 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 52 '../../services/shell/shell.gyp:shell_public', |
| 53 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 53 '../../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
| 54 ] | 54 ] |
| 55 }, | 55 }, |
| 56 { | 56 { |
| 57 # GN version: //components/leveldb/public/interfaces | 57 # GN version: //components/leveldb/public/interfaces |
| 58 'target_name': 'leveldb_bindings', | 58 'target_name': 'leveldb_bindings', |
| 59 'type': 'static_library', | 59 'type': 'static_library', |
| 60 'dependencies': [ | 60 'dependencies': [ |
| 61 'leveldb_bindings_mojom', | 61 'leveldb_bindings_mojom', |
| 62 ], | 62 ], |
| 63 }, | 63 }, |
| 64 { | 64 { |
| 65 'target_name': 'leveldb_bindings_mojom', | 65 'target_name': 'leveldb_bindings_mojom', |
| 66 'type': 'none', | 66 'type': 'none', |
| 67 'variables': { | 67 'variables': { |
| 68 'mojom_files': [ | 68 'mojom_files': [ |
| 69 'public/interfaces/leveldb.mojom', | 69 'public/interfaces/leveldb.mojom', |
| 70 ], | 70 ], |
| 71 }, | 71 }, |
| 72 'dependencies': [ | 72 'dependencies': [ |
| 73 '../../components/filesystem/filesystem.gyp:filesystem_bindings_mojom', | 73 '../../components/filesystem/filesystem.gyp:filesystem_bindings_mojom', |
| 74 ], | 74 ], |
| 75 'includes': [ | 75 'includes': [ |
| 76 '../../mojo/mojom_bindings_generator_explicit.gypi', | 76 '../../mojo/mojom_bindings_generator_explicit.gypi', |
| 77 ], | 77 ], |
| 78 } | 78 } |
| 79 ], | 79 ], |
| 80 } | 80 } |
| OLD | NEW |