| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 | 6 |
| 7 action("precompile_templates") { | 7 action("precompile_templates") { |
| 8 sources = mojom_generator_sources | 8 sources = mojom_generator_sources |
| 9 sources += [ | 9 sources += [ |
| 10 "$mojom_generator_root/generators/cpp_templates/enum_macros.tmpl", | 10 "$mojom_generator_root/generators/cpp_templates/enum_macros.tmpl", |
| 11 "$mojom_generator_root/generators/cpp_templates/interface_declaration.tmpl", | 11 "$mojom_generator_root/generators/cpp_templates/interface_declaration.tmpl", |
| 12 "$mojom_generator_root/generators/cpp_templates/interface_definition.tmpl", | 12 "$mojom_generator_root/generators/cpp_templates/interface_definition.tmpl", |
| 13 "$mojom_generator_root/generators/cpp_templates/interface_macros.tmpl", | 13 "$mojom_generator_root/generators/cpp_templates/interface_macros.tmpl", |
| 14 "$mojom_generator_root/generators/cpp_templates/interface_proxy_declaration.
tmpl", | 14 "$mojom_generator_root/generators/cpp_templates/interface_proxy_declaration.
tmpl", |
| 15 "$mojom_generator_root/generators/cpp_templates/interface_request_validator_
declaration.tmpl", | 15 "$mojom_generator_root/generators/cpp_templates/interface_request_validator_
declaration.tmpl", |
| 16 "$mojom_generator_root/generators/cpp_templates/interface_response_validator
_declaration.tmpl", | 16 "$mojom_generator_root/generators/cpp_templates/interface_response_validator
_declaration.tmpl", |
| 17 "$mojom_generator_root/generators/cpp_templates/interface_stub_declaration.t
mpl", | 17 "$mojom_generator_root/generators/cpp_templates/interface_stub_declaration.t
mpl", |
| 18 "$mojom_generator_root/generators/cpp_templates/module-internal.h.tmpl", | 18 "$mojom_generator_root/generators/cpp_templates/module-internal.h.tmpl", |
| 19 "$mojom_generator_root/generators/cpp_templates/module.cc.tmpl", | 19 "$mojom_generator_root/generators/cpp_templates/module.cc.tmpl", |
| 20 "$mojom_generator_root/generators/cpp_templates/module.h.tmpl", | 20 "$mojom_generator_root/generators/cpp_templates/module.h.tmpl", |
| 21 "$mojom_generator_root/generators/cpp_templates/struct_data_view_declaration
.tmpl", |
| 22 "$mojom_generator_root/generators/cpp_templates/struct_data_view_definition.
tmpl", |
| 21 "$mojom_generator_root/generators/cpp_templates/struct_declaration.tmpl", | 23 "$mojom_generator_root/generators/cpp_templates/struct_declaration.tmpl", |
| 22 "$mojom_generator_root/generators/cpp_templates/struct_definition.tmpl", | 24 "$mojom_generator_root/generators/cpp_templates/struct_definition.tmpl", |
| 23 "$mojom_generator_root/generators/cpp_templates/struct_macros.tmpl", | 25 "$mojom_generator_root/generators/cpp_templates/struct_macros.tmpl", |
| 24 "$mojom_generator_root/generators/cpp_templates/struct_serialization_declara
tion.tmpl", | 26 "$mojom_generator_root/generators/cpp_templates/struct_serialization_declara
tion.tmpl", |
| 25 "$mojom_generator_root/generators/cpp_templates/struct_serialization_definit
ion.tmpl", | 27 "$mojom_generator_root/generators/cpp_templates/struct_serialization_definit
ion.tmpl", |
| 26 "$mojom_generator_root/generators/cpp_templates/union_declaration.tmpl", | 28 "$mojom_generator_root/generators/cpp_templates/union_declaration.tmpl", |
| 27 "$mojom_generator_root/generators/cpp_templates/union_definition.tmpl", | 29 "$mojom_generator_root/generators/cpp_templates/union_definition.tmpl", |
| 28 "$mojom_generator_root/generators/cpp_templates/union_serialization_declarat
ion.tmpl", | 30 "$mojom_generator_root/generators/cpp_templates/union_serialization_declarat
ion.tmpl", |
| 29 "$mojom_generator_root/generators/cpp_templates/union_serialization_definiti
on.tmpl", | 31 "$mojom_generator_root/generators/cpp_templates/union_serialization_definiti
on.tmpl", |
| 30 "$mojom_generator_root/generators/cpp_templates/validation_macros.tmpl", | 32 "$mojom_generator_root/generators/cpp_templates/validation_macros.tmpl", |
| (...skipping 26 matching lines...) Expand all Loading... |
| 57 "$target_gen_dir/java_templates.zip", | 59 "$target_gen_dir/java_templates.zip", |
| 58 "$target_gen_dir/js_templates.zip", | 60 "$target_gen_dir/js_templates.zip", |
| 59 ] | 61 ] |
| 60 args = [ | 62 args = [ |
| 61 "--use_bundled_pylibs", | 63 "--use_bundled_pylibs", |
| 62 "precompile", | 64 "precompile", |
| 63 "-o", | 65 "-o", |
| 64 rebase_path(target_gen_dir), | 66 rebase_path(target_gen_dir), |
| 65 ] | 67 ] |
| 66 } | 68 } |
| OLD | NEW |