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

Unified Diff: mojo/public/tools/bindings/generators/go_templates/enum.tmpl

Issue 1719873003: Mojom runtime type info: New implementation for Go. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebasing Created 4 years, 10 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/go_templates/enum.tmpl
diff --git a/mojo/public/tools/bindings/generators/go_templates/enum.tmpl b/mojo/public/tools/bindings/generators/go_templates/enum.tmpl
index 47047579c98a63722ca2cb7a888ed4f16add42ff..b25b68f55e38f2d5138a7a432af06558cbf49707 100644
--- a/mojo/public/tools/bindings/generators/go_templates/enum.tmpl
+++ b/mojo/public/tools/bindings/generators/go_templates/enum.tmpl
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-{% import "mojom_type_macros.tmpl" as mojom_type_macros %}
-
{% macro define(enum, typepkg, package) %}
type {{enum|name}} int32
@@ -19,6 +17,4 @@ const (
{% endfor %}
)
-{{ mojom_type_macros.writeMojomTypeDef(typepkg, enum, package, exported) }}
-
{% endmacro %}

Powered by Google App Engine
This is Rietveld 408576698