Index: mojo/public/tools/bindings/mojom_bindings_generator.gypi |
diff --git a/mojo/public/tools/bindings/mojom_bindings_generator.gypi b/mojo/public/tools/bindings/mojom_bindings_generator.gypi |
index e8843bbcff646d751823c415b7089d65c9810afd..02c2813fe428eef51d7c41e2f975781cb29d4329 100644 |
--- a/mojo/public/tools/bindings/mojom_bindings_generator.gypi |
+++ b/mojo/public/tools/bindings/mojom_bindings_generator.gypi |
@@ -3,23 +3,76 @@ |
# found in the LICENSE file. |
{ |
- 'includes': [ |
- 'mojom_bindings_generator_variables.gypi', |
- ], |
'rules': [ |
{ |
'rule_name': '<(_target_name)_mojom_bindings_generator', |
'extension': 'mojom', |
'variables': { |
'mojom_base_output_dir': |
- '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))', |
+ '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))', |
+ 'mojom_bindings_generator': |
+ '<(DEPTH)/mojo/public/tools/bindings/mojom_bindings_generator.py', |
'java_out_dir': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src', |
'mojom_import_args%': [ |
'-I<(DEPTH)' |
], |
}, |
'inputs': [ |
- '<@(mojom_bindings_generator_sources)', |
+ '<(mojom_bindings_generator)', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/enum_declaration.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_macros.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_request_validator_declaration.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_response_validator_declaration.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/params_definition.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_declaration.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_definition.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_serialization_declaration.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_serialization_definition.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_definition.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/constant_definition.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/constants.java.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/enum_definition.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/enum.java.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/header.java.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/interface_definition.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/interface.java.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/interface_internal.java.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/struct_definition.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/struct.java.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/js_templates/enum_definition.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/js_templates/interface_definition.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/js_templates/module_definition.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/js_templates/module.sky.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/js_templates/struct_definition.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/python_templates/module_macros.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/python_templates/module.py.tmpl', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/mojom_cpp_generator.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/mojom_java_generator.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/mojom_js_generator.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/generators/mojom_python_generator.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/__init__.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/error.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/__init__.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/data.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/generator.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/module.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/pack.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/template_expander.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/parse/__init__.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/parse/ast.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/parse/parser.py', |
+ '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/parse/translate.py', |
], |
'outputs': [ |
'<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).mojom.cc', |