• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# The GN build definitions for these variables are in scripts.gni.
2{
3    'variables': {
4        'scripts_for_in_files': [
5            # jinja2/__init__.py contains version string, so sufficient as
6            # dependency for whole jinja2 package
7            '<(DEPTH)/third_party/jinja2/__init__.py',
8            '<(DEPTH)/third_party/markupsafe/__init__.py',  # jinja2 dep
9            'hasher.py',
10            'in_file.py',
11            'in_generator.py',
12            'license.py',
13            'name_utilities.py',
14            'template_expander.py',
15            'templates/macros.tmpl',
16        ],
17        'css_properties_files': [
18            '<@(scripts_for_in_files)',
19            'css_properties.py',
20            '../../core/css/CSSProperties.in',
21        ],
22        'make_event_factory_files': [
23            '<@(scripts_for_in_files)',
24            'make_event_factory.py',
25            'templates/EventFactory.cpp.tmpl',
26        ],
27        'make_names_files': [
28            '<@(scripts_for_in_files)',
29            'make_names.py',
30            'templates/MakeNames.cpp.tmpl',
31            'templates/MakeNames.h.tmpl',
32        ],
33        'make_qualified_names_files': [
34            '<@(scripts_for_in_files)',
35            'make_qualified_names.py',
36            'templates/MakeQualifiedNames.cpp.tmpl',
37            'templates/MakeQualifiedNames.h.tmpl',
38        ],
39        'make_element_factory_files': [
40            '<@(make_qualified_names_files)',
41            'make_element_factory.py',
42            'templates/ElementFactory.cpp.tmpl',
43            'templates/ElementFactory.h.tmpl',
44        ],
45        'make_element_type_helpers_files': [
46            '<@(make_qualified_names_files)',
47            'make_element_type_helpers.py',
48            'templates/ElementTypeHelpers.h.tmpl',
49        ],
50        'conditions': [
51            ['OS=="win"', {
52                'gperf_exe': '<(DEPTH)/third_party/gperf/bin/gperf.exe',
53                'bison_exe': '<(DEPTH)/third_party/bison/bin/bison.exe',
54              },{
55                'gperf_exe': 'gperf',
56                'bison_exe': 'bison',
57              }],
58         ],
59    },
60}
61