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

Side by Side Diff: Source/build/scripts/templates/MediaFeatures.h.tmpl

Issue 236673002: Simplify whitespace handling in build/ Jinja templates (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: One more FIXME Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 {% from "macros.tmpl" import license -%} 1 {% from "macros.tmpl" import license %}
2 {{ license() }} 2 {{ license() }}
3 3
4 #ifndef MediaFeatures_h 4 #ifndef MediaFeatures_h
5 #define MediaFeatures_h 5 #define MediaFeatures_h
6 6
7 #define CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(macro) \ 7 #define CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(macro) \
8 {%- for entry in entries %} 8 {% for entry in entries %}
9 macro({{entry|symbol}}) {%- if not loop.last %}\{%-endif %} 9 {# FIXME: add space before \ #}
10 {%- endfor %} 10 macro({{entry|symbol}}){% if not loop.last %}\
11 {% endif %}
12 {% endfor %}
13 {# FIXME: Remove extra blank line #}
14
11 15
12 #endif 16 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698