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/core.gni") |
5 import("//third_party/WebKit/Source/bindings/idl.gni") | 6 import("//third_party/WebKit/Source/bindings/idl.gni") |
6 import("//third_party/WebKit/Source/core/core.gni") | 7 import("//third_party/WebKit/Source/core/core.gni") |
7 | 8 |
8 # Don't actually read idl.gypi since that just defines variables in terms of | 9 # Don't actually read idl.gypi since that just defines variables in terms of |
9 # others, which gypi_to_gn doesn't handle. | 10 # others, which gypi_to_gn doesn't handle. |
10 | 11 |
11 core_definition_idl_files = | 12 core_definition_idl_files = |
12 core_dictionary_idl_files + | 13 core_dictionary_idl_files + |
13 core_idl_files | 14 core_idl_files |
14 | 15 |
(...skipping 13 matching lines...) Expand all Loading... |
28 core_definition_idl_files + | 29 core_definition_idl_files + |
29 core_testing_definition_idl_files | 30 core_testing_definition_idl_files |
30 core_static_dependency_idl_files = | 31 core_static_dependency_idl_files = |
31 core_dependency_idl_files + | 32 core_dependency_idl_files + |
32 webcore_testing_dependency_idl_files | 33 webcore_testing_dependency_idl_files |
33 | 34 |
34 # Generated IDL files | 35 # Generated IDL files |
35 core_generated_interface_idl_files = | 36 core_generated_interface_idl_files = |
36 generated_webcore_testing_idl_files # interfaces | 37 generated_webcore_testing_idl_files # interfaces |
37 core_generated_dependency_idl_files = | 38 core_generated_dependency_idl_files = |
38 # FIXME: Generate separate core_global_constructors_idls | 39 core_global_constructors_generated_idl_files # partial interfaces |
39 # http://crbug.com/358074 | |
40 generated_global_constructors_idl_files # partial interfaces | |
41 | 40 |
42 # Static IDL files / Generated IDL files | 41 # Static IDL files / Generated IDL files |
43 # | 42 # |
44 # In GYP, paths need to be passed separately for static and generated files, as | 43 # In GYP, paths need to be passed separately for static and generated files, as |
45 # static files are listed in a temporary file (b/c too long for command line), | 44 # static files are listed in a temporary file (b/c too long for command line), |
46 # but generated files must be passed at the command line, as their paths are | 45 # but generated files must be passed at the command line, as their paths are |
47 # not fixed at GYP time, when the temporary file is generated, because their | 46 # not fixed at GYP time, when the temporary file is generated, because their |
48 # paths depend on the build directory, which varies. | 47 # paths depend on the build directory, which varies. |
49 # | 48 # |
50 # FIXME: GN does not have this restriction and we can combine them. While GYP | 49 # FIXME: GN does not have this restriction and we can combine them. While GYP |
51 # is still supported, we match its behavior for easier maintenance but this can | 50 # is still supported, we match its behavior for easier maintenance but this can |
52 # be simplified. | 51 # be simplified. |
53 core_static_idl_files = | 52 core_static_idl_files = |
54 core_static_interface_idl_files + | 53 core_static_interface_idl_files + |
55 core_static_dependency_idl_files | 54 core_static_dependency_idl_files |
56 core_generated_idl_files = | 55 core_generated_idl_files = |
57 core_generated_interface_idl_files + | 56 core_generated_interface_idl_files + |
58 core_generated_dependency_idl_files | 57 core_generated_dependency_idl_files |
59 | 58 |
60 # Dependency IDL files: don't generate individual bindings, but do process | 59 # Dependency IDL files: don't generate individual bindings, but do process |
61 # in IDL dependency computation, and count as build dependencies | 60 # in IDL dependency computation, and count as build dependencies |
62 # 'core_dependency_idl_files' is already used in Source/core, so avoid | 61 # 'core_dependency_idl_files' is already used in Source/core, so avoid |
63 # collision | 62 # collision |
64 core_all_dependency_idl_files = | 63 core_all_dependency_idl_files = |
65 core_static_dependency_idl_files + | 64 core_static_dependency_idl_files + |
66 core_generated_dependency_idl_files | 65 core_generated_dependency_idl_files |
OLD | NEW |