| 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 # Generate C++ and JavaScript source files from mojom files. The output files | 5 # Generate C++ and JavaScript source files from mojom files. The output files |
| 6 # will go under the generated file directory tree with the same path as each | 6 # will go under the generated file directory tree with the same path as each |
| 7 # input file. | 7 # input file. |
| 8 # | 8 # |
| 9 # Parameters: | 9 # Parameters: |
| 10 # | 10 # |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 "$generator_root/generators/java_templates/enum_definition.tmpl", | 53 "$generator_root/generators/java_templates/enum_definition.tmpl", |
| 54 "$generator_root/generators/java_templates/header.java.tmpl", | 54 "$generator_root/generators/java_templates/header.java.tmpl", |
| 55 "$generator_root/generators/java_templates/interface.java.tmpl", | 55 "$generator_root/generators/java_templates/interface.java.tmpl", |
| 56 "$generator_root/generators/java_templates/interface_definition.tmpl", | 56 "$generator_root/generators/java_templates/interface_definition.tmpl", |
| 57 "$generator_root/generators/java_templates/interface_internal.java.tmpl", | 57 "$generator_root/generators/java_templates/interface_internal.java.tmpl", |
| 58 "$generator_root/generators/java_templates/struct.java.tmpl", | 58 "$generator_root/generators/java_templates/struct.java.tmpl", |
| 59 "$generator_root/generators/java_templates/struct_definition.tmpl", | 59 "$generator_root/generators/java_templates/struct_definition.tmpl", |
| 60 "$generator_root/generators/js_templates/enum_definition.tmpl", | 60 "$generator_root/generators/js_templates/enum_definition.tmpl", |
| 61 "$generator_root/generators/js_templates/interface_definition.tmpl", | 61 "$generator_root/generators/js_templates/interface_definition.tmpl", |
| 62 "$generator_root/generators/js_templates/module.amd.tmpl", | 62 "$generator_root/generators/js_templates/module.amd.tmpl", |
| 63 "$generator_root/generators/js_templates/module.html.tmpl", | 63 "$generator_root/generators/js_templates/module.sky.tmpl", |
| 64 "$generator_root/generators/js_templates/module_definition.tmpl", | 64 "$generator_root/generators/js_templates/module_definition.tmpl", |
| 65 "$generator_root/generators/js_templates/struct_definition.tmpl", | 65 "$generator_root/generators/js_templates/struct_definition.tmpl", |
| 66 "$generator_root/generators/python_templates/module_macros.tmpl", | 66 "$generator_root/generators/python_templates/module_macros.tmpl", |
| 67 "$generator_root/generators/python_templates/module.py.tmpl", | 67 "$generator_root/generators/python_templates/module.py.tmpl", |
| 68 "$generator_root/generators/mojom_cpp_generator.py", | 68 "$generator_root/generators/mojom_cpp_generator.py", |
| 69 "$generator_root/generators/mojom_js_generator.py", | 69 "$generator_root/generators/mojom_js_generator.py", |
| 70 "$generator_root/generators/mojom_java_generator.py", | 70 "$generator_root/generators/mojom_java_generator.py", |
| 71 "$generator_root/generators/mojom_python_generator.py", | 71 "$generator_root/generators/mojom_python_generator.py", |
| 72 "$generator_root/pylib/mojom/__init__.py", | 72 "$generator_root/pylib/mojom/__init__.py", |
| 73 "$generator_root/pylib/mojom/error.py", | 73 "$generator_root/pylib/mojom/error.py", |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 # //mojo/something:something and we can append "_java" to get the java | 184 # //mojo/something:something and we can append "_java" to get the java |
| 185 # dependency name. | 185 # dependency name. |
| 186 full_name = get_label_info(d, "label_no_toolchain") | 186 full_name = get_label_info(d, "label_no_toolchain") |
| 187 deps += [ "${full_name}_java" ] | 187 deps += [ "${full_name}_java" ] |
| 188 } | 188 } |
| 189 | 189 |
| 190 srcjars = process_file_template(invoker.sources, generator_java_outputs) | 190 srcjars = process_file_template(invoker.sources, generator_java_outputs) |
| 191 } | 191 } |
| 192 } | 192 } |
| 193 } | 193 } |
| OLD | NEW |