| Index: third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl
|
| diff --git a/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl b/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl
|
| index 8f6906a92a244d8f9d07ea844f681382b510ff53..0c89b6534362b3c334636d459f2175729cdd4dae 100644
|
| --- a/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl
|
| +++ b/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl
|
| @@ -15,6 +15,12 @@ const {{constant.name}} = {{constant.value|expression_to_text}};
|
| {{ struct_def(struct) }}
|
| {%- endfor -%}
|
|
|
| +{#--- Union definitions #}
|
| +{%- from "union_definition.tmpl" import union_def %}
|
| +{% for union in unions %}
|
| +{{ union_def(union) }}
|
| +{%- endfor -%}
|
| +
|
| {#--- Interface definitions #}
|
| {%- for interface in interfaces -%}
|
| {%- include "interface_definition.tmpl" %}
|
|
|