OLD | NEW |
(Empty) | |
| 1 # Copyright 2014 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 # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces |
| 6 |
| 7 { |
| 8 'includes': [ |
| 9 'bindings.gypi', |
| 10 '../core/core.gypi', |
| 11 '../modules/modules.gypi', |
| 12 ], |
| 13 |
| 14 'variables': { |
| 15 # Interface IDL files / Dependency IDL files |
| 16 # Interface IDL files: generate individual bindings (includes testing) |
| 17 'interface_idl_files': [ |
| 18 '<@(static_interface_idl_files)', |
| 19 '<@(generated_interface_idl_files)', |
| 20 ], |
| 21 # Dependency IDL files: don't generate individual bindings, but do process |
| 22 # in IDL dependency computation, and count as build dependencies |
| 23 'dependency_idl_files': [ |
| 24 '<@(static_dependency_idl_files)', |
| 25 '<@(generated_dependency_idl_files)', |
| 26 ], |
| 27 # Main interface IDL files (excluding dependencies and testing) |
| 28 # are included as properties on global objects, and in aggregate bindings |
| 29 'main_interface_idl_files': [ |
| 30 '<@(core_idl_files)', |
| 31 '<@(modules_idl_files)', |
| 32 ], |
| 33 # Write lists of main IDL files to a file, so that the command lines don't |
| 34 # exceed OS length limits. |
| 35 'main_interface_idl_files_list': '<|(main_interface_idl_files_list.tmp <@(ma
in_interface_idl_files))', |
| 36 'core_idl_files_list': '<|(core_idl_files_list.tmp <@(core_idl_files))', |
| 37 'modules_idl_files_list': '<|(modules_idl_files_list.tmp <@(modules_idl_file
s))', |
| 38 |
| 39 # Static IDL files / Generated IDL files |
| 40 # Paths need to be passed separately for static and generated files, as |
| 41 # static files are listed in a temporary file (b/c too long for command |
| 42 # line), but generated files must be passed at the command line, as their |
| 43 # paths are not fixed at GYP time, when the temporary file is generated, |
| 44 # because their paths depend on the build directory, which varies. |
| 45 'static_idl_files': [ |
| 46 '<@(static_interface_idl_files)', |
| 47 '<@(static_dependency_idl_files)', |
| 48 ], |
| 49 'static_idl_files_list': '<|(static_idl_files_list.tmp <@(static_idl_files))
', |
| 50 'generated_idl_files': [ |
| 51 '<@(generated_interface_idl_files)', |
| 52 '<@(generated_dependency_idl_files)', |
| 53 ], |
| 54 |
| 55 # Static IDL files |
| 56 'static_interface_idl_files': [ |
| 57 '<@(core_idl_files)', |
| 58 '<@(webcore_testing_idl_files)', |
| 59 '<@(modules_idl_files)', |
| 60 ], |
| 61 'static_dependency_idl_files': [ |
| 62 '<@(core_dependency_idl_files)', |
| 63 '<@(modules_dependency_idl_files)', |
| 64 '<@(modules_testing_dependency_idl_files)', |
| 65 ], |
| 66 |
| 67 # Generated IDL files |
| 68 'generated_interface_idl_files': [ |
| 69 '<@(generated_webcore_testing_idl_files)', # interfaces |
| 70 ], |
| 71 'generated_dependency_idl_files': [ |
| 72 '<@(generated_global_constructors_idl_files)', # partial interfaces |
| 73 ], |
| 74 |
| 75 # Global constructors |
| 76 'generated_global_constructors_idl_files': [ |
| 77 '<(blink_output_dir)/WindowConstructors.idl', |
| 78 '<(blink_output_dir)/SharedWorkerGlobalScopeConstructors.idl', |
| 79 '<(blink_output_dir)/DedicatedWorkerGlobalScopeConstructors.idl', |
| 80 '<(blink_output_dir)/ServiceWorkerGlobalScopeConstructors.idl', |
| 81 ], |
| 82 |
| 83 'generated_global_constructors_header_files': [ |
| 84 '<(blink_output_dir)/WindowConstructors.h', |
| 85 '<(blink_output_dir)/SharedWorkerGlobalScopeConstructors.h', |
| 86 '<(blink_output_dir)/DedicatedWorkerGlobalScopeConstructors.h', |
| 87 '<(blink_output_dir)/ServiceWorkerGlobalScopeConstructors.h', |
| 88 ], |
| 89 }, |
| 90 } |
OLD | NEW |