Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / core / idl.gni
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/core/core.gni")
6 import("//third_party/WebKit/Source/bindings/idl.gni")
7 import("//third_party/WebKit/Source/core/core.gni")
8
9 # Don't actually read idl.gypi since that just defines variables in terms of
10 # others, which gypi_to_gn doesn't handle.
11
12 core_definition_idl_files =
13   core_dictionary_idl_files +
14   core_idl_files +
15   core_idl_with_modules_dependency_files
16
17 core_testing_definition_idl_files =
18   core_testing_dictionary_idl_files +
19   webcore_testing_idl_files +
20   webcore_testing_idl_with_modules_dependency_files
21
22 # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces
23 # Interface IDL files: generate individual bindings (includes testing)
24 core_interface_idl_files =
25   core_definition_idl_files +
26   core_testing_definition_idl_files +
27   generated_webcore_testing_idl_files
28
29 # Static IDL files
30 core_static_interface_idl_files =
31   core_definition_idl_files +
32   core_testing_definition_idl_files
33 core_static_dependency_idl_files =
34   core_dependency_idl_files +
35   webcore_testing_dependency_idl_files
36
37 # Generated IDL files
38 core_generated_interface_idl_files =
39   generated_webcore_testing_idl_files  # interfaces
40 core_generated_dependency_idl_files =
41   core_global_constructors_generated_idl_files  # partial interfaces
42
43 # Static IDL files / Generated IDL files
44 #
45 # In GYP, paths need to be passed separately for static and generated files, as
46 # static files are listed in a temporary file (b/c too long for command line),
47 # but generated files must be passed at the command line, as their paths are
48 # not fixed at GYP time, when the temporary file is generated, because their
49 # paths depend on the build directory, which varies.
50 #
51 # FIXME: GN does not have this restriction and we can combine them. While GYP
52 # is still supported, we match its behavior for easier maintenance but this can
53 # be simplified.
54 core_static_idl_files =
55   core_static_interface_idl_files +
56   core_static_dependency_idl_files
57 core_generated_idl_files =
58   core_generated_interface_idl_files +
59   core_generated_dependency_idl_files
60
61 # Dependency IDL files: don't generate individual bindings, but do process
62 # in IDL dependency computation, and count as build dependencies
63 # 'core_dependency_idl_files' is already used in Source/core, so avoid
64 # collision
65 core_all_dependency_idl_files =
66   core_static_dependency_idl_files +
67   core_generated_dependency_idl_files