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 import("//third_party/WebKit/Source/bindings/core/idl.gni") | |
6 import("//third_party/WebKit/Source/bindings/modules/modules.gni") | |
7 import("//third_party/WebKit/Source/modules/modules.gni") | |
8 | |
9 # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces | |
10 | |
11 modules_definition_idl_files = modules_dictionary_idl_files + modules_idl_files | |
12 | |
13 # Static IDL files | |
14 modules_static_interface_idl_files = modules_definition_idl_files | |
15 modules_static_dependency_idl_files = | |
16 modules_dependency_idl_files + modules_testing_dependency_idl_files | |
17 | |
18 # Static IDL files / Generated IDL files | |
19 # | |
20 # In GYP, paths need to be passed separately for static and generated files, as | |
21 # static files are listed in a temporary file (b/c too long for command line), | |
22 # but generated files must be passed at the command line, as their paths are | |
23 # not fixed at GYP time, when the temporary file is generated, because their | |
24 # paths depend on the build directory, which varies. | |
25 # | |
26 # FIXME: GN does not have this limitation and we can combine the lists. | |
27 # Currently we keep the GYP/GN builds in sync for simplicity, but this can be | |
28 # cleaned up once GYP is not used. | |
29 modules_static_idl_files = | |
30 modules_static_interface_idl_files + modules_static_dependency_idl_files | |
31 | |
32 modules_generated_dependency_idl_files = | |
33 modules_core_global_constructors_generated_idl_files + | |
34 modules_global_constructors_generated_idl_files | |
35 | |
36 # 'modules_dependency_idl_files' is already used in Source/modules, so avoid | |
37 # collision | |
38 modules_all_dependency_idl_files = | |
39 modules_static_dependency_idl_files + modules_generated_dependency_idl_files | |
40 | |
41 # Dependency IDL files: don't generate individual bindings, but do process | |
42 # in IDL dependency computation, and count as build dependencies | |
43 all_dependency_idl_files = | |
44 core_all_dependency_idl_files + modules_all_dependency_idl_files | |
OLD | NEW |