| 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++ and JavaScript source files from mojom files. The output files | 7 # Generate C++ and JavaScript source files from mojom files. The output files |
| 8 # will go under the generated file directory tree with the same path as each | 8 # will go under the generated file directory tree with the same path as each |
| 9 # input file. | 9 # input file. |
| 10 # | 10 # |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 "$generator_root/generators/cpp_templates/interface_declaration.tmpl", | 53 "$generator_root/generators/cpp_templates/interface_declaration.tmpl", |
| 54 "$generator_root/generators/cpp_templates/interface_definition.tmpl", | 54 "$generator_root/generators/cpp_templates/interface_definition.tmpl", |
| 55 "$generator_root/generators/cpp_templates/interface_macros.tmpl", | 55 "$generator_root/generators/cpp_templates/interface_macros.tmpl", |
| 56 "$generator_root/generators/cpp_templates/interface_proxy_declaration.tmpl", | 56 "$generator_root/generators/cpp_templates/interface_proxy_declaration.tmpl", |
| 57 "$generator_root/generators/cpp_templates/interface_request_validator_declar
ation.tmpl", | 57 "$generator_root/generators/cpp_templates/interface_request_validator_declar
ation.tmpl", |
| 58 "$generator_root/generators/cpp_templates/interface_response_validator_decla
ration.tmpl", | 58 "$generator_root/generators/cpp_templates/interface_response_validator_decla
ration.tmpl", |
| 59 "$generator_root/generators/cpp_templates/interface_stub_declaration.tmpl", | 59 "$generator_root/generators/cpp_templates/interface_stub_declaration.tmpl", |
| 60 "$generator_root/generators/cpp_templates/module.cc.tmpl", | 60 "$generator_root/generators/cpp_templates/module.cc.tmpl", |
| 61 "$generator_root/generators/cpp_templates/module.h.tmpl", | 61 "$generator_root/generators/cpp_templates/module.h.tmpl", |
| 62 "$generator_root/generators/cpp_templates/module-internal.h.tmpl", | 62 "$generator_root/generators/cpp_templates/module-internal.h.tmpl", |
| 63 "$generator_root/generators/cpp_templates/params_definition.tmpl", | |
| 64 "$generator_root/generators/cpp_templates/serialization_macros.tmpl", | 63 "$generator_root/generators/cpp_templates/serialization_macros.tmpl", |
| 65 "$generator_root/generators/cpp_templates/struct_declaration.tmpl", | 64 "$generator_root/generators/cpp_templates/struct_declaration.tmpl", |
| 66 "$generator_root/generators/cpp_templates/struct_definition.tmpl", | 65 "$generator_root/generators/cpp_templates/struct_definition.tmpl", |
| 67 "$generator_root/generators/cpp_templates/struct_serialization_definition.tm
pl", | 66 "$generator_root/generators/cpp_templates/struct_serialization_definition.tm
pl", |
| 68 "$generator_root/generators/cpp_templates/struct_macros.tmpl", | 67 "$generator_root/generators/cpp_templates/struct_macros.tmpl", |
| 69 "$generator_root/generators/cpp_templates/wrapper_class_declaration.tmpl", | 68 "$generator_root/generators/cpp_templates/wrapper_class_declaration.tmpl", |
| 70 "$generator_root/generators/cpp_templates/wrapper_class_definition.tmpl", | 69 "$generator_root/generators/cpp_templates/wrapper_class_definition.tmpl", |
| 71 "$generator_root/generators/cpp_templates/union_declaration.tmpl", | 70 "$generator_root/generators/cpp_templates/union_declaration.tmpl", |
| 72 "$generator_root/generators/cpp_templates/union_definition.tmpl", | 71 "$generator_root/generators/cpp_templates/union_definition.tmpl", |
| 73 "$generator_root/generators/cpp_templates/union_serialization_definition.tmp
l", | 72 "$generator_root/generators/cpp_templates/union_serialization_definition.tmp
l", |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 # //mojo/something:something and we can append "_java" to get the java | 344 # //mojo/something:something and we can append "_java" to get the java |
| 346 # dependency name. | 345 # dependency name. |
| 347 full_name = get_label_info(d, "label_no_toolchain") | 346 full_name = get_label_info(d, "label_no_toolchain") |
| 348 deps += [ "${full_name}_java" ] | 347 deps += [ "${full_name}_java" ] |
| 349 } | 348 } |
| 350 | 349 |
| 351 srcjars = process_file_template(invoker.sources, generator_java_outputs) | 350 srcjars = process_file_template(invoker.sources, generator_java_outputs) |
| 352 } | 351 } |
| 353 } | 352 } |
| 354 } | 353 } |
| OLD | NEW |