blob: 6a67a3c2f39c1e2fe9341e60761ac848f056eb3d [file]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library {{module.name|dot_to_underscore}};
{%- if module.interfaces %}
import 'dart:async';
{%- endif %}
{%- if should_gen_mojom_types %}
import 'dart:collection';
{%- endif %}
{%- if module.structs or module.unions or module.interfaces or module.enums %}
import 'package:mojo/bindings.dart' as bindings;
{%- endif %}
{%- if module.interfaces or has_handles %}
import 'package:mojo/core.dart' as core;
{%- endif %}
{%- if should_gen_mojom_types %}
{{mojom_types_import}}
{%- endif %}
{{service_describer_import}}
{%- for import in imports %}
import 'package:{{import.rebased_path}}.dart' as {{import.unique_name}};
{%- endfor %}
{%- include "module_definition.tmpl" %}