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