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

Side by Side Diff: Source/core/page/RuntimeEnabledFeatures.cpp.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 {% from "macros.tmpl" import wrap_with_condition -%}
2
3 {{ license }}
4 #include "config.h"
5 #include "RuntimeEnabledFeatures.h"
6
7 namespace WebCore {
8
9 {%- for feature in features if not feature.custom %}
10 {%- call wrap_with_condition(feature.condition) %}
11 bool RuntimeEnabledFeatures::is{{feature.name}}Enabled = {{feature.default}};
12 {%- endcall %}
13 {%- endfor %}
14
15 } // namespace WebCore
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698