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.
5 import("//third_party/WebKit/Source/bindings/core/idl.gni")
6 import("//third_party/WebKit/Source/bindings/modules/modules.gni")
7 import("//third_party/WebKit/Source/modules/modules.gni")
9 # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces
11 modules_definition_idl_files =
12 modules_dictionary_idl_files +
16 modules_static_interface_idl_files =
17 modules_definition_idl_files
18 modules_static_dependency_idl_files =
19 modules_dependency_idl_files +
20 modules_testing_dependency_idl_files
22 # Static IDL files / Generated IDL files
24 # 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),
26 # 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
28 # paths depend on the build directory, which varies.
30 # 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
32 # cleaned up once GYP is not used.
33 modules_static_idl_files =
34 modules_static_interface_idl_files +
35 modules_static_dependency_idl_files
37 modules_generated_dependency_idl_files =
38 modules_core_global_constructors_generated_idl_files +
39 modules_global_constructors_generated_idl_files
41 # 'modules_dependency_idl_files' is already used in Source/modules, so avoid
43 modules_all_dependency_idl_files =
44 modules_static_dependency_idl_files +
45 modules_generated_dependency_idl_files
47 # Dependency IDL files: don't generate individual bindings, but do process
48 # in IDL dependency computation, and count as build dependencies
49 all_dependency_idl_files =
50 core_all_dependency_idl_files +
51 modules_all_dependency_idl_files