| 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("//sky/engine/bindings/idl.gni") | 5 import("//sky/engine/bindings/idl.gni") |
| 6 import("//sky/engine/core/core.gni") | 6 import("//sky/engine/core/core.gni") |
| 7 | 7 |
| 8 # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces | 8 # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces |
| 9 # Interface IDL files: generate individual bindings (includes testing) | 9 # Interface IDL files: generate individual bindings (includes testing) |
| 10 core_interface_idl_files = | 10 core_interface_idl_files = core_idl_files |
| 11 core_idl_files | |
| 12 | 11 |
| 13 # Static IDL files | 12 # Static IDL files |
| 14 core_static_interface_idl_files = | 13 core_static_interface_idl_files = core_idl_files |
| 15 core_idl_files | |
| 16 | 14 |
| 17 core_static_dependency_idl_files = | 15 core_static_dependency_idl_files = core_dependency_idl_files |
| 18 core_dependency_idl_files | |
| 19 | 16 |
| 20 # Generated IDL files | 17 # Generated IDL files |
| 21 core_generated_dependency_idl_files = | 18 core_generated_dependency_idl_files = |
| 22 # FIXME: Generate separate core_global_constructors_idls | 19 # FIXME: Generate separate core_global_constructors_idls |
| 23 # http://crbug.com/358074 | 20 # http://crbug.com/358074 |
| 24 generated_global_constructors_idl_files # partial interfaces | 21 generated_global_constructors_idl_files # partial interfaces |
| 25 | 22 |
| 26 # Static IDL files / Generated IDL files | 23 # Static IDL files / Generated IDL files |
| 27 # | 24 # |
| 28 # In GYP, paths need to be passed separately for static and generated files, as | 25 # In GYP, paths need to be passed separately for static and generated files, as |
| 29 # static files are listed in a temporary file (b/c too long for command line), | 26 # static files are listed in a temporary file (b/c too long for command line), |
| 30 # but generated files must be passed at the command line, as their paths are | 27 # but generated files must be passed at the command line, as their paths are |
| 31 # not fixed at GYP time, when the temporary file is generated, because their | 28 # not fixed at GYP time, when the temporary file is generated, because their |
| 32 # paths depend on the build directory, which varies. | 29 # paths depend on the build directory, which varies. |
| 33 # | 30 # |
| 34 # FIXME: GN does not have this restriction and we can combine them. While GYP | 31 # FIXME: GN does not have this restriction and we can combine them. While GYP |
| 35 # is still supported, we match its behavior for easier maintenance but this can | 32 # is still supported, we match its behavior for easier maintenance but this can |
| 36 # be simplified. | 33 # be simplified. |
| 37 core_static_idl_files = | 34 core_static_idl_files = |
| 38 core_static_interface_idl_files + | 35 core_static_interface_idl_files + core_static_dependency_idl_files |
| 39 core_static_dependency_idl_files | 36 core_generated_idl_files = core_generated_dependency_idl_files |
| 40 core_generated_idl_files = | |
| 41 core_generated_dependency_idl_files | |
| 42 | 37 |
| 43 # Dependency IDL files: don't generate individual bindings, but do process | 38 # Dependency IDL files: don't generate individual bindings, but do process |
| 44 # in IDL dependency computation, and count as build dependencies | 39 # in IDL dependency computation, and count as build dependencies |
| 45 # 'core_dependency_idl_files' is already used in engine/core, so avoid | 40 # 'core_dependency_idl_files' is already used in engine/core, so avoid |
| 46 # collision | 41 # collision |
| 47 core_all_dependency_idl_files = | 42 core_all_dependency_idl_files = |
| 48 core_static_dependency_idl_files + | 43 core_static_dependency_idl_files + core_generated_dependency_idl_files |
| 49 core_generated_dependency_idl_files | |
| OLD | NEW |