| 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 27 matching lines...) Expand all Loading... |
| 38 "$generator_root/generators/cpp_templates/struct_definition.tmpl", | 38 "$generator_root/generators/cpp_templates/struct_definition.tmpl", |
| 39 "$generator_root/generators/cpp_templates/struct_serialization_declaration.t
mpl", | 39 "$generator_root/generators/cpp_templates/struct_serialization_declaration.t
mpl", |
| 40 "$generator_root/generators/cpp_templates/struct_serialization_definition.tm
pl", | 40 "$generator_root/generators/cpp_templates/struct_serialization_definition.tm
pl", |
| 41 "$generator_root/generators/cpp_templates/struct_macros.tmpl", | 41 "$generator_root/generators/cpp_templates/struct_macros.tmpl", |
| 42 "$generator_root/generators/cpp_templates/wrapper_class_declaration.tmpl", | 42 "$generator_root/generators/cpp_templates/wrapper_class_declaration.tmpl", |
| 43 "$generator_root/generators/cpp_templates/wrapper_class_definition.tmpl", | 43 "$generator_root/generators/cpp_templates/wrapper_class_definition.tmpl", |
| 44 "$generator_root/generators/js_templates/enum_definition.tmpl", | 44 "$generator_root/generators/js_templates/enum_definition.tmpl", |
| 45 "$generator_root/generators/js_templates/interface_definition.tmpl", | 45 "$generator_root/generators/js_templates/interface_definition.tmpl", |
| 46 "$generator_root/generators/js_templates/module.js.tmpl", | 46 "$generator_root/generators/js_templates/module.js.tmpl", |
| 47 "$generator_root/generators/js_templates/struct_definition.tmpl", | 47 "$generator_root/generators/js_templates/struct_definition.tmpl", |
| 48 "$generator_root/generators/python_templates/module_macros.tmpl", |
| 48 "$generator_root/generators/python_templates/module.py.tmpl", | 49 "$generator_root/generators/python_templates/module.py.tmpl", |
| 49 "$generator_root/generators/mojom_cpp_generator.py", | 50 "$generator_root/generators/mojom_cpp_generator.py", |
| 50 "$generator_root/generators/mojom_js_generator.py", | 51 "$generator_root/generators/mojom_js_generator.py", |
| 51 "$generator_root/generators/mojom_python_generator.py", | 52 "$generator_root/generators/mojom_python_generator.py", |
| 52 "$generator_root/pylib/mojom/__init__.py", | 53 "$generator_root/pylib/mojom/__init__.py", |
| 53 "$generator_root/pylib/mojom/error.py", | 54 "$generator_root/pylib/mojom/error.py", |
| 54 "$generator_root/pylib/mojom/generate/__init__.py", | 55 "$generator_root/pylib/mojom/generate/__init__.py", |
| 55 "$generator_root/pylib/mojom/generate/data.py", | 56 "$generator_root/pylib/mojom/generate/data.py", |
| 56 "$generator_root/pylib/mojom/generate/generator.py", | 57 "$generator_root/pylib/mojom/generate/generator.py", |
| 57 "$generator_root/pylib/mojom/generate/module.py", | 58 "$generator_root/pylib/mojom/generate/module.py", |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 data = process_file_template(invoker.sources, generator_js_outputs) | 104 data = process_file_template(invoker.sources, generator_js_outputs) |
| 104 deps = [ | 105 deps = [ |
| 105 ":$generator_target_name", | 106 ":$generator_target_name", |
| 106 "//mojo/public/cpp/bindings", | 107 "//mojo/public/cpp/bindings", |
| 107 ] | 108 ] |
| 108 if (defined(invoker.deps)) { | 109 if (defined(invoker.deps)) { |
| 109 deps += invoker.deps | 110 deps += invoker.deps |
| 110 } | 111 } |
| 111 } | 112 } |
| 112 } | 113 } |
| OLD | NEW |