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

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

Issue 1027603002: Dart: Removes all but native calls and the handle watcher from the snapshot. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Hoist application interface dependence Created 5 years, 9 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
« no previous file with comments | « mojo/public/interfaces/application/BUILD.gn ('k') | mojo/public/tools/bindings/mojom.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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}}; 5 library {{module.name}};
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:mojo.bindings' as bindings; 8
9 import 'dart:mojo.core' as core; 9 import 'package:mojo/public/dart/bindings.dart' as bindings;
10 import 'package:mojo/public/dart/core.dart' as core;
10 11
11 {%- for import in imports %} 12 {%- for import in imports %}
12 import 'package:{{import.module.path}}.dart' as {{import.unique_name}}; 13 import 'package:{{import.module.path}}.dart' as {{import.unique_name}};
13 {%- endfor %} 14 {%- endfor %}
14 15
15 {%- include "module_definition.tmpl" %} 16 {%- include "module_definition.tmpl" %}
OLDNEW
« no previous file with comments | « mojo/public/interfaces/application/BUILD.gn ('k') | mojo/public/tools/bindings/mojom.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698