OLD | NEW |
1 { | 1 { |
2 'variables': { | 2 'variables': { |
3 'scripts_for_in_files': [ | 3 'scripts_for_in_files': [ |
4 # jinja2/__init__.py contains version string, so sufficient as | 4 # jinja2/__init__.py contains version string, so sufficient as |
5 # dependency for whole jinja2 package | 5 # dependency for whole jinja2 package |
6 '<(DEPTH)/third_party/jinja2/__init__.py', | 6 '<(DEPTH)/third_party/jinja2/__init__.py', |
7 '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep | 7 '<(DEPTH)/third_party/markupsafe/__init__.py', # jinja2 dep |
8 'hasher.py', | 8 'hasher.py', |
9 'in_file.py', | 9 'in_file.py', |
10 'in_generator.py', | 10 'in_generator.py', |
(...skipping 16 matching lines...) Expand all Loading... |
27 'templates/MakeQualifiedNames.h.tmpl', | 27 'templates/MakeQualifiedNames.h.tmpl', |
28 ], | 28 ], |
29 'make_element_factory_files': [ | 29 'make_element_factory_files': [ |
30 '<@(make_qualified_names_files)', | 30 '<@(make_qualified_names_files)', |
31 'make_element_factory.py', | 31 'make_element_factory.py', |
32 'templates/ElementFactory.cpp.tmpl', | 32 'templates/ElementFactory.cpp.tmpl', |
33 'templates/ElementFactory.h.tmpl', | 33 'templates/ElementFactory.h.tmpl', |
34 'templates/ElementWrapperFactory.cpp.tmpl', | 34 'templates/ElementWrapperFactory.cpp.tmpl', |
35 'templates/ElementWrapperFactory.h.tmpl', | 35 'templates/ElementWrapperFactory.h.tmpl', |
36 ], | 36 ], |
| 37 'conditions': [ |
| 38 ['OS=="win"', { |
| 39 # Using native perl rather than cygwin perl cuts execution time |
| 40 # of idl preprocessing rules by a bit more than 50%. |
| 41 'perl_exe': '<(DEPTH)/third_party/perl/perl/bin/perl.exe', |
| 42 'gperf_exe': '<(DEPTH)/third_party/gperf/bin/gperf.exe', |
| 43 'bison_exe': '<(DEPTH)/third_party/bison/bin/bison.exe', |
| 44 # Using cl instead of cygwin gcc cuts the processing time from |
| 45 # 1m58s to 0m52s. |
| 46 'preprocessor': '--preprocessor "cl.exe -nologo -EP -TP"', |
| 47 },{ |
| 48 'perl_exe': 'perl', |
| 49 'gperf_exe': 'gperf', |
| 50 'bison_exe': 'bison', |
| 51 # We specify a preprocess so it happens locally and won't get |
| 52 # distributed to goma. |
| 53 # FIXME: /usr/bin/gcc won't exist on OSX forever. We want to |
| 54 # use /usr/bin/clang once we require Xcode 4.x. |
| 55 'preprocessor': '--preprocessor "/usr/bin/gcc -E -P -x c++"' |
| 56 }], |
| 57 ], |
37 }, | 58 }, |
38 } | 59 } |
OLD | NEW |