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 # TODO(cmumford): Don't even think this file is used. Verify and delete. |
| 6 { |
| 7 'variables': { |
| 8 # This turns on e.g. the filename-based detection of which |
| 9 # platforms to include source files on (e.g. files ending in |
| 10 # _mac.h or _mac.cc are only compiled on MacOSX). |
| 11 'chromium_code': 1, |
| 12 'mojom_files': [ |
| 13 'public/interfaces/indexed_db.mojom', |
| 14 ], |
| 15 }, |
| 16 'targets': [ |
| 17 { |
| 18 # GN version: //components/indexed_db:lib |
| 19 'target_name': 'indexed_db_lib', |
| 20 'type': 'static_library', |
| 21 'include_dirs': [ |
| 22 '../../..', |
| 23 ], |
| 24 'inputs': [ |
| 25 '<(SHARED_INTERMEDIATE_DIR)/components/indexed_db/indexed_db.mojom.h', |
| 26 ], |
| 27 'sources': [ |
| 28 'database_impl.cc', |
| 29 'database_impl.h', |
| 30 ], |
| 31 'dependencies': [ |
| 32 'indexed_db_bindings', |
| 33 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 34 '../../../services/shell/shell.gyp:shell_public', |
| 35 ] |
| 36 }, |
| 37 { |
| 38 # GN version: //content/browser/indexed_db |
| 39 'target_name': 'indexed_db_bindings', |
| 40 'type': 'static_library', |
| 41 'sources': [ '<@(mojom_files)' ], |
| 42 'variables': { |
| 43 'mojom_typemaps': [ |
| 44 '<(DEPTH)/url/mojo/origin.typemap', |
| 45 ], |
| 46 }, |
| 47 'includes': [ |
| 48 '../../../mojo/mojom_bindings_generator.gypi', |
| 49 ], |
| 50 }, |
| 51 ], |
| 52 } |
OLD | NEW |