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

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

Issue 674383002: Initial work on Dart bindings for Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Merge. Work on templates. Created 6 years, 1 month 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
(Empty)
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
3 // found in the LICENSE file.
4
5 library {{module.name}};
6
7 import 'dart:async';
8
9 // Set package-root to e.g out/Release, or wherever the Dart Mojo bindings live.
10 import 'package:mojo/public/dart/system/lib/core.dart' as core;
11 import 'package:mojo/public/dart/bindings/lib/bindings.dart' as bindings;
12 {%- for import in imports %}
13 import 'package:{{import.module.path}}.mojom.dart' as {{import.unique_name}};
14 {%- endfor %}
15
16 {%- include "module_definition.tmpl" %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698