OLD | NEW |
(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 'mojom_files': [ |
| 12 'public/interfaces/indexed_db.mojom', |
| 13 ], |
| 14 }, |
| 15 'targets': [ |
| 16 { |
| 17 # GN version: //components/indexed_db:lib |
| 18 'target_name': 'indexed_db_lib', |
| 19 'type': 'static_library', |
| 20 'include_dirs': [ |
| 21 '../../..', |
| 22 ], |
| 23 'inputs': [ |
| 24 '<(SHARED_INTERMEDIATE_DIR)/components/indexed_db/indexed_db.mojom.h', |
| 25 ], |
| 26 'sources': [ |
| 27 'database_impl.cc', |
| 28 'database_impl.h', |
| 29 ], |
| 30 'dependencies': [ |
| 31 'indexed_db_bindings', |
| 32 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 33 '../../../services/shell/shell.gyp:shell_public', |
| 34 ] |
| 35 }, |
| 36 { |
| 37 # GN version: //content/browser/indexed_db |
| 38 'target_name': 'indexed_db_bindings', |
| 39 'type': 'static_library', |
| 40 'sources': [ '<@(mojom_files)' ], |
| 41 'variables': { |
| 42 'mojom_typemaps': [ |
| 43 '<(DEPTH)/url/mojo/origin.typemap', |
| 44 ], |
| 45 }, |
| 46 'includes': [ |
| 47 '../../../mojo/mojom_bindings_generator.gypi', |
| 48 ], |
| 49 }, |
| 50 ], |
| 51 } |
OLD | NEW |