Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: Source/core/scripts/templates/macros.tmpl

Issue 14905002: Use jinja2 templating engine for Python code generators (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {% macro wrap_with_condition(condition) %}
2 {%- if condition %}
3 #if ENABLE({{condition}})
4 {{- caller() }}
5 #endif
6 {%- else %}
7 {{- caller() }}
8 {%- endif %}
9 {%- endmacro %}
OLDNEW
« Source/core/scripts/template_expander.py ('K') | « Source/core/scripts/template_expander.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698