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