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

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

Issue 923033003: Implement unions as members of structs. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 "$generator_root/generators/cpp_templates/interface_declaration.tmpl", 57 "$generator_root/generators/cpp_templates/interface_declaration.tmpl",
58 "$generator_root/generators/cpp_templates/interface_definition.tmpl", 58 "$generator_root/generators/cpp_templates/interface_definition.tmpl",
59 "$generator_root/generators/cpp_templates/interface_macros.tmpl", 59 "$generator_root/generators/cpp_templates/interface_macros.tmpl",
60 "$generator_root/generators/cpp_templates/interface_proxy_declaration.tmpl ", 60 "$generator_root/generators/cpp_templates/interface_proxy_declaration.tmpl ",
61 "$generator_root/generators/cpp_templates/interface_request_validator_decl aration.tmpl", 61 "$generator_root/generators/cpp_templates/interface_request_validator_decl aration.tmpl",
62 "$generator_root/generators/cpp_templates/interface_response_validator_dec laration.tmpl", 62 "$generator_root/generators/cpp_templates/interface_response_validator_dec laration.tmpl",
63 "$generator_root/generators/cpp_templates/interface_stub_declaration.tmpl" , 63 "$generator_root/generators/cpp_templates/interface_stub_declaration.tmpl" ,
64 "$generator_root/generators/cpp_templates/module.cc.tmpl", 64 "$generator_root/generators/cpp_templates/module.cc.tmpl",
65 "$generator_root/generators/cpp_templates/module.h.tmpl", 65 "$generator_root/generators/cpp_templates/module.h.tmpl",
66 "$generator_root/generators/cpp_templates/module-internal.h.tmpl", 66 "$generator_root/generators/cpp_templates/module-internal.h.tmpl",
67 "$generator_root/generators/cpp_templates/serialization_macros.tmpl", 67 "$generator_root/generators/cpp_templates/struct_serialization_declaration .tmpl",
68 "$generator_root/generators/cpp_templates/union_serialization_declaration. tmpl",
yzshen1 2015/03/27 16:26:33 alphabetically, please.
azani 2015/03/27 20:50:14 Done.
68 "$generator_root/generators/cpp_templates/struct_declaration.tmpl", 69 "$generator_root/generators/cpp_templates/struct_declaration.tmpl",
69 "$generator_root/generators/cpp_templates/struct_definition.tmpl", 70 "$generator_root/generators/cpp_templates/struct_definition.tmpl",
70 "$generator_root/generators/cpp_templates/struct_serialization_definition. tmpl", 71 "$generator_root/generators/cpp_templates/struct_serialization_definition. tmpl",
71 "$generator_root/generators/cpp_templates/struct_macros.tmpl", 72 "$generator_root/generators/cpp_templates/struct_macros.tmpl",
72 "$generator_root/generators/cpp_templates/wrapper_class_declaration.tmpl", 73 "$generator_root/generators/cpp_templates/wrapper_class_declaration.tmpl",
73 "$generator_root/generators/cpp_templates/wrapper_class_definition.tmpl", 74 "$generator_root/generators/cpp_templates/wrapper_class_definition.tmpl",
74 "$generator_root/generators/cpp_templates/union_declaration.tmpl", 75 "$generator_root/generators/cpp_templates/union_declaration.tmpl",
75 "$generator_root/generators/cpp_templates/union_definition.tmpl", 76 "$generator_root/generators/cpp_templates/union_definition.tmpl",
76 "$generator_root/generators/cpp_templates/union_serialization_definition.t mpl", 77 "$generator_root/generators/cpp_templates/union_serialization_definition.t mpl",
77 "$generator_root/generators/cpp_templates/validation_macros.tmpl", 78 "$generator_root/generators/cpp_templates/validation_macros.tmpl",
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 full_name = get_label_info(d, "label_no_toolchain") 377 full_name = get_label_info(d, "label_no_toolchain")
377 deps += [ "${full_name}_java" ] 378 deps += [ "${full_name}_java" ]
378 } 379 }
379 380
380 if (defined(invoker.sources)) { 381 if (defined(invoker.sources)) {
381 srcjars = process_file_template(invoker.sources, generator_java_outputs) 382 srcjars = process_file_template(invoker.sources, generator_java_outputs)
382 } 383 }
383 } 384 }
384 } 385 }
385 } 386 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698