OLD | NEW |
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/encoding_macros.tmpl", | 88 "$generator_root/generators/go_templates/encoding_macros.tmpl", |
89 "$generator_root/generators/go_templates/enum.tmpl", | 89 "$generator_root/generators/go_templates/enum.tmpl", |
90 "$generator_root/generators/go_templates/interface.tmpl", | 90 "$generator_root/generators/go_templates/interface.tmpl", |
91 "$generator_root/generators/go_templates/source.tmpl", | 91 "$generator_root/generators/go_templates/source.tmpl", |
92 "$generator_root/generators/go_templates/struct.tmpl", | 92 "$generator_root/generators/go_templates/struct.tmpl", |
93 "$generator_root/generators/go_templates/union.tmpl", | 93 "$generator_root/generators/go_templates/union.tmpl", |
94 "$generator_root/generators/java_templates/constant_definition.tmpl", | 94 "$generator_root/generators/java_templates/constant_definition.tmpl", |
95 "$generator_root/generators/java_templates/constants.java.tmpl", | 95 "$generator_root/generators/java_templates/constants.java.tmpl", |
| 96 "$generator_root/generators/java_templates/data_types_definition.tmpl", |
| 97 "$generator_root/generators/java_templates/enum_definition.tmpl", |
96 "$generator_root/generators/java_templates/enum.java.tmpl", | 98 "$generator_root/generators/java_templates/enum.java.tmpl", |
97 "$generator_root/generators/java_templates/enum_definition.tmpl", | |
98 "$generator_root/generators/java_templates/header.java.tmpl", | 99 "$generator_root/generators/java_templates/header.java.tmpl", |
99 "$generator_root/generators/java_templates/interface.java.tmpl", | |
100 "$generator_root/generators/java_templates/interface_definition.tmpl", | 100 "$generator_root/generators/java_templates/interface_definition.tmpl", |
101 "$generator_root/generators/java_templates/interface_internal.java.tmpl", | 101 "$generator_root/generators/java_templates/interface_internal.java.tmpl", |
| 102 "$generator_root/generators/java_templates/interface.java.tmpl", |
102 "$generator_root/generators/java_templates/struct.java.tmpl", | 103 "$generator_root/generators/java_templates/struct.java.tmpl", |
103 "$generator_root/generators/java_templates/struct_definition.tmpl", | 104 "$generator_root/generators/java_templates/union.java.tmpl", |
104 "$generator_root/generators/js_templates/enum_definition.tmpl", | 105 "$generator_root/generators/js_templates/enum_definition.tmpl", |
105 "$generator_root/generators/js_templates/interface_definition.tmpl", | 106 "$generator_root/generators/js_templates/interface_definition.tmpl", |
106 "$generator_root/generators/js_templates/module.amd.tmpl", | 107 "$generator_root/generators/js_templates/module.amd.tmpl", |
107 "$generator_root/generators/js_templates/module_definition.tmpl", | 108 "$generator_root/generators/js_templates/module_definition.tmpl", |
108 "$generator_root/generators/js_templates/struct_definition.tmpl", | 109 "$generator_root/generators/js_templates/struct_definition.tmpl", |
109 "$generator_root/generators/python_templates/module.py.tmpl", | 110 "$generator_root/generators/python_templates/module.py.tmpl", |
110 "$generator_root/generators/python_templates/module_macros.tmpl", | 111 "$generator_root/generators/python_templates/module_macros.tmpl", |
111 "$generator_root/generators/mojom_cpp_generator.py", | 112 "$generator_root/generators/mojom_cpp_generator.py", |
112 "$generator_root/generators/mojom_dart_generator.py", | 113 "$generator_root/generators/mojom_dart_generator.py", |
113 "$generator_root/generators/mojom_go_generator.py", | 114 "$generator_root/generators/mojom_go_generator.py", |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 # //mojo/something:something and we can append "_java" to get the java | 412 # //mojo/something:something and we can append "_java" to get the java |
412 # dependency name. | 413 # dependency name. |
413 full_name = get_label_info(d, "label_no_toolchain") | 414 full_name = get_label_info(d, "label_no_toolchain") |
414 deps += [ "${full_name}_java" ] | 415 deps += [ "${full_name}_java" ] |
415 } | 416 } |
416 | 417 |
417 srcjar_deps = [ ":$java_srcjar_target_name" ] | 418 srcjar_deps = [ ":$java_srcjar_target_name" ] |
418 } | 419 } |
419 } | 420 } |
420 } | 421 } |
OLD | NEW |