| Index: third_party/WebKit/Source/build/scripts/templates/macros.tmpl
|
| diff --git a/third_party/WebKit/Source/build/scripts/templates/macros.tmpl b/third_party/WebKit/Source/build/scripts/templates/macros.tmpl
|
| index 17a9f4952f510ce1664c028439103e7c6cf4fc56..d8617410ef2a2d60d04bc411fb38fbe194db5427 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/macros.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/macros.tmpl
|
| @@ -55,3 +55,8 @@ case {{ length }}:
|
| {% endfor %}
|
| }
|
| {% endmacro %}
|
| +
|
| +
|
| +{% macro print_if(predicate, str) -%}
|
| +{% if predicate %}{{str}}{% endif %}
|
| +{%- endmacro %}
|
|
|