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/idl.gni") | |
6 import("//third_party/WebKit/Source/core/core.gni") | |
7 | |
8 # Don't actually read idl.gypi since that just defines variables in terms of | |
9 # others, which gypi_to_gn doesn't handle. | |
10 | |
11 # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces | |
12 # Interface IDL files: generate individual bindings (includes testing) | |
13 core_interface_idl_files = | |
14 core_idl_files + | |
15 webcore_testing_idl_files + | |
16 generated_webcore_testing_idl_files | |
17 | |
18 # Static IDL files | |
19 core_static_interface_idl_files = | |
20 core_idl_files + | |
21 webcore_testing_idl_files | |
22 core_static_dependency_idl_files = | |
23 core_dependency_idl_files | |
24 | |
25 # Generated IDL files | |
26 core_generated_interface_idl_files = | |
27 generated_webcore_testing_idl_files # interfaces | |
28 core_generated_dependency_idl_files = | |
29 # FIXME: Generate separate core_global_constructors_idls | |
30 # http://crbug.com/358074 | |
31 generated_global_constructors_idl_files # partial interfaces | |
32 | |
33 # Static IDL files / Generated IDL files | |
Nils Barth (inactive)
2014/06/10 08:44:17
This distinction goes away in GN, since we *do* kn
| |
34 # Paths need to be passed separately for static and generated files, as | |
35 # static files are listed in a temporary file (b/c too long for command | |
36 # line), but generated files must be passed at the command line, as their | |
37 # paths are not fixed at GYP time, when the temporary file is generated, | |
38 # because their paths depend on the build directory, which varies. | |
39 core_static_idl_files = | |
40 core_static_interface_idl_files + | |
41 core_static_dependency_idl_files | |
42 core_generated_idl_files = | |
43 core_generated_interface_idl_files + | |
44 core_generated_dependency_idl_files | |
45 | |
46 # Dependency IDL files: don't generate individual bindings, but do process | |
47 # in IDL dependency computation, and count as build dependencies | |
48 # 'core_dependency_idl_files' is already used in Source/core, so avoid | |
49 # collision | |
50 core_all_dependency_idl_files = | |
51 core_static_dependency_idl_files + | |
52 core_generated_dependency_idl_files | |
53 | |
Nils Barth (inactive)
2014/06/10 08:44:17
Nit: trailing newline
(does lint catch this?)
| |
OLD | NEW |