Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: mojo/public/tools/bindings/mojom.gni

Issue 844433003: Revert "Generate some of the C++ bindings for mojom tagged unions." (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
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", 63 "$generator_root/generators/cpp_templates/params_definition.tmpl",
64 "$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",
66 "$generator_root/generators/cpp_templates/struct_serialization_declaration.t mpl",
67 "$generator_root/generators/cpp_templates/struct_serialization_definition.tm pl", 67 "$generator_root/generators/cpp_templates/struct_serialization_definition.tm pl",
68 "$generator_root/generators/cpp_templates/struct_macros.tmpl", 68 "$generator_root/generators/cpp_templates/struct_macros.tmpl",
69 "$generator_root/generators/cpp_templates/wrapper_class_declaration.tmpl", 69 "$generator_root/generators/cpp_templates/wrapper_class_declaration.tmpl",
70 "$generator_root/generators/cpp_templates/wrapper_class_definition.tmpl", 70 "$generator_root/generators/cpp_templates/wrapper_class_definition.tmpl",
71 "$generator_root/generators/cpp_templates/union_declaration.tmpl",
72 "$generator_root/generators/cpp_templates/union_definition.tmpl",
73 "$generator_root/generators/cpp_templates/union_serialization_definition.tmp l",
74 "$generator_root/generators/cpp_templates/wrapper_union_class_declaration.tm pl",
75 "$generator_root/generators/cpp_templates/wrapper_union_class_definition.tmp l",
76 "$generator_root/generators/dart_templates/enum_definition.tmpl", 71 "$generator_root/generators/dart_templates/enum_definition.tmpl",
77 "$generator_root/generators/dart_templates/interface_definition.tmpl", 72 "$generator_root/generators/dart_templates/interface_definition.tmpl",
78 "$generator_root/generators/dart_templates/module.lib.tmpl", 73 "$generator_root/generators/dart_templates/module.lib.tmpl",
79 "$generator_root/generators/dart_templates/module_definition.tmpl", 74 "$generator_root/generators/dart_templates/module_definition.tmpl",
80 "$generator_root/generators/dart_templates/struct_definition.tmpl", 75 "$generator_root/generators/dart_templates/struct_definition.tmpl",
81 "$generator_root/generators/java_templates/constant_definition.tmpl", 76 "$generator_root/generators/java_templates/constant_definition.tmpl",
82 "$generator_root/generators/java_templates/constants.java.tmpl", 77 "$generator_root/generators/java_templates/constants.java.tmpl",
83 "$generator_root/generators/java_templates/enum.java.tmpl", 78 "$generator_root/generators/java_templates/enum.java.tmpl",
84 "$generator_root/generators/java_templates/enum_definition.tmpl", 79 "$generator_root/generators/java_templates/enum_definition.tmpl",
85 "$generator_root/generators/java_templates/header.java.tmpl", 80 "$generator_root/generators/java_templates/header.java.tmpl",
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 # //mojo/something:something and we can append "_java" to get the java 249 # //mojo/something:something and we can append "_java" to get the java
255 # dependency name. 250 # dependency name.
256 full_name = get_label_info(d, "label_no_toolchain") 251 full_name = get_label_info(d, "label_no_toolchain")
257 deps += [ "${full_name}_java" ] 252 deps += [ "${full_name}_java" ]
258 } 253 }
259 254
260 srcjars = process_file_template(invoker.sources, generator_java_outputs) 255 srcjars = process_file_template(invoker.sources, generator_java_outputs)
261 } 256 }
262 } 257 }
263 } 258 }
OLDNEW
« no previous file with comments | « mojo/public/tools/bindings/generators/mojom_cpp_generator.py ('k') | mojo/public/tools/bindings/pylib/mojom/generate/data.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698