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

Unified Diff: Source/build/scripts/templates/InternalRuntimeFlags.idl.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 side-by-side diff with in-line comments
Download patch
Index: Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl
diff --git a/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl b/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl
index cf1e78bf629c3e8a50390a0c9b24eb4aecdb604a..7134eb6f02b8730e86ac7ffcdb5fc849479d507e 100644
--- a/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl
+++ b/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl
@@ -1,15 +1,15 @@
-{% from "macros.tmpl" import license -%}
+{% from "macros.tmpl" import license %}
{{ license() }}
[
WillBeGarbageCollected,
] interface InternalRuntimeFlags {
-{%- for feature in features if not feature.custom %}
-{#-
+ {% for feature in features if not feature.custom %}
+{#
Currently assuming that runtime flags cannot be changed after startup
it's possible that some can be and should be conditionally readonly.
#}
- {% if feature.condition -%} [Conditional={{feature.condition}}] {% endif -%}
+ {%+ if feature.condition %}[Conditional={{feature.condition}}] {% endif -%}
readonly attribute boolean {{feature.first_lowered_name}}Enabled;
-{%- endfor %}
+ {% endfor %}
};

Powered by Google App Engine
This is Rietveld 408576698