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

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

Issue 291903003: Generate java bindings for constants. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix dir creation? Created 6 years, 6 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
(Empty)
1 {% from "java_macros.tmpl" import build_default %}
2
3 {% macro constant_def(constant) %}
4 public static final {{constant.kind|java_type}} {{constant|name}} = {{build_defa ult(module, constant.kind, constant.value)|indent(4)}};
5 {% endmacro %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698