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

Side by Side Diff: mojo/public/tools/bindings/mojom.gni

Issue 1125183007: Java: Implements union generation. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix comment Created 5 years, 7 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("../../mojo_sdk.gni") 5 import("../../mojo_sdk.gni")
6 6
7 # Generate C++/JavaScript/Java/Python/Dart/Go source files from mojom files. The 7 # Generate C++/JavaScript/Java/Python/Dart/Go source files from mojom files. The
8 # output files will go under the generated file directory tree with the same 8 # output files will go under the generated file directory tree with the same
9 # path as each input file. 9 # path as each input file.
10 # 10 #
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 "$generator_root/generators/dart_templates/interface_definition.tmpl", 84 "$generator_root/generators/dart_templates/interface_definition.tmpl",
85 "$generator_root/generators/dart_templates/module.lib.tmpl", 85 "$generator_root/generators/dart_templates/module.lib.tmpl",
86 "$generator_root/generators/dart_templates/module_definition.tmpl", 86 "$generator_root/generators/dart_templates/module_definition.tmpl",
87 "$generator_root/generators/dart_templates/struct_definition.tmpl", 87 "$generator_root/generators/dart_templates/struct_definition.tmpl",
88 "$generator_root/generators/go_templates/enum.tmpl", 88 "$generator_root/generators/go_templates/enum.tmpl",
89 "$generator_root/generators/go_templates/interface.tmpl", 89 "$generator_root/generators/go_templates/interface.tmpl",
90 "$generator_root/generators/go_templates/source.tmpl", 90 "$generator_root/generators/go_templates/source.tmpl",
91 "$generator_root/generators/go_templates/struct.tmpl", 91 "$generator_root/generators/go_templates/struct.tmpl",
92 "$generator_root/generators/java_templates/constant_definition.tmpl", 92 "$generator_root/generators/java_templates/constant_definition.tmpl",
93 "$generator_root/generators/java_templates/constants.java.tmpl", 93 "$generator_root/generators/java_templates/constants.java.tmpl",
94 "$generator_root/generators/java_templates/data_types_definition.tmpl",
95 "$generator_root/generators/java_templates/enum_definition.tmpl",
94 "$generator_root/generators/java_templates/enum.java.tmpl", 96 "$generator_root/generators/java_templates/enum.java.tmpl",
95 "$generator_root/generators/java_templates/enum_definition.tmpl",
96 "$generator_root/generators/java_templates/header.java.tmpl", 97 "$generator_root/generators/java_templates/header.java.tmpl",
97 "$generator_root/generators/java_templates/interface.java.tmpl",
98 "$generator_root/generators/java_templates/interface_definition.tmpl", 98 "$generator_root/generators/java_templates/interface_definition.tmpl",
99 "$generator_root/generators/java_templates/interface_internal.java.tmpl", 99 "$generator_root/generators/java_templates/interface_internal.java.tmpl",
100 "$generator_root/generators/java_templates/interface.java.tmpl",
100 "$generator_root/generators/java_templates/struct.java.tmpl", 101 "$generator_root/generators/java_templates/struct.java.tmpl",
101 "$generator_root/generators/java_templates/struct_definition.tmpl", 102 "$generator_root/generators/java_templates/union.java.tmpl",
102 "$generator_root/generators/js_templates/enum_definition.tmpl", 103 "$generator_root/generators/js_templates/enum_definition.tmpl",
103 "$generator_root/generators/js_templates/interface_definition.tmpl", 104 "$generator_root/generators/js_templates/interface_definition.tmpl",
104 "$generator_root/generators/js_templates/module.amd.tmpl", 105 "$generator_root/generators/js_templates/module.amd.tmpl",
105 "$generator_root/generators/js_templates/module_definition.tmpl", 106 "$generator_root/generators/js_templates/module_definition.tmpl",
106 "$generator_root/generators/js_templates/struct_definition.tmpl", 107 "$generator_root/generators/js_templates/struct_definition.tmpl",
107 "$generator_root/generators/python_templates/module.py.tmpl", 108 "$generator_root/generators/python_templates/module.py.tmpl",
108 "$generator_root/generators/python_templates/module_macros.tmpl", 109 "$generator_root/generators/python_templates/module_macros.tmpl",
109 "$generator_root/generators/mojom_cpp_generator.py", 110 "$generator_root/generators/mojom_cpp_generator.py",
110 "$generator_root/generators/mojom_dart_generator.py", 111 "$generator_root/generators/mojom_dart_generator.py",
111 "$generator_root/generators/mojom_go_generator.py", 112 "$generator_root/generators/mojom_go_generator.py",
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 # //mojo/something:something and we can append "_java" to get the java 408 # //mojo/something:something and we can append "_java" to get the java
408 # dependency name. 409 # dependency name.
409 full_name = get_label_info(d, "label_no_toolchain") 410 full_name = get_label_info(d, "label_no_toolchain")
410 deps += [ "${full_name}_java" ] 411 deps += [ "${full_name}_java" ]
411 } 412 }
412 413
413 srcjar_deps = [ ":$java_srcjar_target_name" ] 414 srcjar_deps = [ ":$java_srcjar_target_name" ]
414 } 415 }
415 } 416 }
416 } 417 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698