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

Side by Side Diff: trunk/src/mojo/public/tools/bindings/generators/java_templates/constant_definition.tmpl

Issue 354833003: Revert 279677 "Generate java bindings for structs." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 {% from "java_macros.tmpl" import build_default %}
2
1 {% macro constant_def(constant) %} 3 {% macro constant_def(constant) %}
2 public static final {{constant.kind|java_type}} {{constant|name}} = ({{constant. kind|java_type}}) {{constant.value|expression_to_text}}; 4 public static final {{constant.kind|java_type}} {{constant|name}} = {{build_defa ult(module, constant.kind, constant.value)|indent(4)}};
3 {% endmacro %} 5 {% endmacro %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698