Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / core / idl.gypi
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 # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces
6
7 {
8   'includes': [
9     '../../core/core.gypi',
10     'generated.gypi',
11   ],
12
13   'variables': {
14     'core_definition_idl_files': [
15       '<@(core_dictionary_idl_files)',
16       '<@(core_idl_files)',
17     ],
18     'core_testing_definition_idl_files': [
19       '<@(core_testing_dictionary_idl_files)',
20       '<@(webcore_testing_idl_files)',
21     ],
22
23     # IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces
24     # Interface IDL files: generate individual bindings (includes testing)
25     'core_interface_idl_files': [
26       '<@(core_definition_idl_files)',
27       '<@(core_testing_definition_idl_files)',
28       '<@(generated_webcore_testing_idl_files)',
29     ],
30
31     # Write lists of main IDL files to a file, so that the command lines don't
32     # exceed OS length limits.
33     'core_idl_files_list': '<|(core_idl_files_list.tmp <@(core_definition_idl_files))',
34     'core_dictionary_idl_files_list': '<|(core_dictionary_idl_files_list.tmp <@(core_dictionary_idl_files) <@(core_testing_dictionary_idl_files))',
35
36     # Dependency IDL files: don't generate individual bindings, but do process
37     # in IDL dependency computation, and count as build dependencies
38     # 'core_dependency_idl_files' is already used in Source/core, so avoid
39     # collision
40     'core_all_dependency_idl_files': [
41       '<@(core_static_dependency_idl_files)',
42       '<@(core_generated_dependency_idl_files)',
43     ],
44
45     # Static IDL files / Generated IDL files
46     # Paths need to be passed separately for static and generated files, as
47     # static files are listed in a temporary file (b/c too long for command
48     # line), but generated files must be passed at the command line, as their
49     # paths are not fixed at GYP time, when the temporary file is generated,
50     # because their paths depend on the build directory, which varies.
51     'core_static_idl_files': [
52       '<@(core_static_interface_idl_files)',
53       '<@(core_static_dependency_idl_files)',
54     ],
55     'core_static_idl_files_list':
56       '<|(core_static_idl_files_list.tmp <@(core_static_idl_files))',
57
58     'core_generated_idl_files': [
59       '<@(core_generated_interface_idl_files)',
60       '<@(core_generated_dependency_idl_files)',
61     ],
62
63     # Static IDL files
64     'core_static_interface_idl_files': [
65       '<@(core_definition_idl_files)',
66       '<@(core_testing_definition_idl_files)',
67     ],
68     'core_static_dependency_idl_files': [
69       '<@(core_dependency_idl_files)',
70       '<@(webcore_testing_dependency_idl_files)',
71     ],
72
73     # Generated IDL files
74     'core_generated_interface_idl_files': [
75       '<@(generated_webcore_testing_idl_files)',  # interfaces
76     ],
77
78     'core_generated_dependency_idl_files': [
79       '<@(core_global_constructors_generated_idl_files)',  # partial interfaces
80     ],
81   },
82 }