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

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

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
diff --git a/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl b/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
deleted file mode 100644
index 04bc2a60730f5976d2cb51944ddffba311d86543..0000000000000000000000000000000000000000
--- a/mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl
+++ /dev/null
@@ -1,34 +0,0 @@
-{#- 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. -#}
-// WARNING: DO NOT EDIT. This file was generated by a program.
-// See $MOJO_SDK/tools/bindings/mojom_bindings_generator.py.
-
-library {{module.name|dot_to_underscore}};
-
-{%- if needs_dart_async %}
-import 'dart:async';
-{%- endif %}
-{%- if should_gen_mojom_types %}
-import 'dart:collection';
-import 'dart:convert';
-import 'dart:io';
-import 'dart:typed_data';
-{%- endif %}
-
-{%- if module.structs or module.unions or module.interfaces or module.enums or should_gen_mojom_types%}
-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" %}

Powered by Google App Engine
This is Rietveld 408576698