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

Side by Side Diff: mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl

Issue 1433183002: Generate Mojom Types for Dart (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Simplify identifier_store for Go and Dart Created 5 years 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 library {{module.name|dot_to_underscore}}; 5 library {{module.name|dot_to_underscore}};
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:mojo/bindings.dart' as bindings; 9 import 'package:mojo/bindings.dart' as bindings;
10 import 'package:mojo/core.dart' as core; 10 import 'package:mojo/core.dart' as core;
11 {{mojom_types_import}}
12 {{service_describer_import}}
11 13
12 {%- for import in imports %} 14 {%- for import in imports %}
13 import 'package:{{import.rebased_path}}.dart' as {{import.unique_name}}; 15 import 'package:{{import.rebased_path}}.dart' as {{import.unique_name}};
14 {%- endfor %} 16 {%- endfor %}
15 17
16 {%- include "module_definition.tmpl" %} 18 {%- include "module_definition.tmpl" %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698