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

Side by Side Diff: mojo/public/tools/bindings/BUILD.gn

Issue 2259283003: Mojo C++ bindings: share DataView class between chromium and blink variants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@92_change_traits_param
Patch Set: . Created 4 years, 3 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 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/enum_serialization_declarati on.tmpl", 11 "$mojom_generator_root/generators/cpp_templates/enum_serialization_declarati on.tmpl",
12 "$mojom_generator_root/generators/cpp_templates/interface_declaration.tmpl", 12 "$mojom_generator_root/generators/cpp_templates/interface_declaration.tmpl",
13 "$mojom_generator_root/generators/cpp_templates/interface_definition.tmpl", 13 "$mojom_generator_root/generators/cpp_templates/interface_definition.tmpl",
14 "$mojom_generator_root/generators/cpp_templates/interface_macros.tmpl", 14 "$mojom_generator_root/generators/cpp_templates/interface_macros.tmpl",
15 "$mojom_generator_root/generators/cpp_templates/interface_proxy_declaration. tmpl", 15 "$mojom_generator_root/generators/cpp_templates/interface_proxy_declaration. tmpl",
16 "$mojom_generator_root/generators/cpp_templates/interface_request_validator_ declaration.tmpl", 16 "$mojom_generator_root/generators/cpp_templates/interface_request_validator_ declaration.tmpl",
17 "$mojom_generator_root/generators/cpp_templates/interface_response_validator _declaration.tmpl", 17 "$mojom_generator_root/generators/cpp_templates/interface_response_validator _declaration.tmpl",
18 "$mojom_generator_root/generators/cpp_templates/interface_stub_declaration.t mpl", 18 "$mojom_generator_root/generators/cpp_templates/interface_stub_declaration.t mpl",
19 "$mojom_generator_root/generators/cpp_templates/module-shared-internal.h.tmp l", 19 "$mojom_generator_root/generators/cpp_templates/module-shared-internal.h.tmp l",
20 "$mojom_generator_root/generators/cpp_templates/module-shared.cc.tmpl", 20 "$mojom_generator_root/generators/cpp_templates/module-shared.cc.tmpl",
21 "$mojom_generator_root/generators/cpp_templates/module-shared.h.tmpl", 21 "$mojom_generator_root/generators/cpp_templates/module-shared.h.tmpl",
22 "$mojom_generator_root/generators/cpp_templates/module.cc.tmpl", 22 "$mojom_generator_root/generators/cpp_templates/module.cc.tmpl",
23 "$mojom_generator_root/generators/cpp_templates/module.h.tmpl", 23 "$mojom_generator_root/generators/cpp_templates/module.h.tmpl",
24 "$mojom_generator_root/generators/cpp_templates/struct_data_view_declaration .tmpl", 24 "$mojom_generator_root/generators/cpp_templates/struct_data_view_declaration .tmpl",
25 "$mojom_generator_root/generators/cpp_templates/struct_data_view_definition. tmpl", 25 "$mojom_generator_root/generators/cpp_templates/struct_data_view_definition. tmpl",
26 "$mojom_generator_root/generators/cpp_templates/struct_declaration.tmpl", 26 "$mojom_generator_root/generators/cpp_templates/struct_declaration.tmpl",
27 "$mojom_generator_root/generators/cpp_templates/struct_definition.tmpl", 27 "$mojom_generator_root/generators/cpp_templates/struct_definition.tmpl",
28 "$mojom_generator_root/generators/cpp_templates/struct_macros.tmpl", 28 "$mojom_generator_root/generators/cpp_templates/struct_macros.tmpl",
29 "$mojom_generator_root/generators/cpp_templates/struct_serialization_declara tion.tmpl", 29 "$mojom_generator_root/generators/cpp_templates/struct_serialization_declara tion.tmpl",
30 "$mojom_generator_root/generators/cpp_templates/struct_serialization_definit ion.tmpl", 30 "$mojom_generator_root/generators/cpp_templates/struct_traits_declaration.tm pl",
31 "$mojom_generator_root/generators/cpp_templates/struct_traits_definition.tmp l",
31 "$mojom_generator_root/generators/cpp_templates/union_data_view_declaration. tmpl", 32 "$mojom_generator_root/generators/cpp_templates/union_data_view_declaration. tmpl",
32 "$mojom_generator_root/generators/cpp_templates/union_data_view_definition.t mpl", 33 "$mojom_generator_root/generators/cpp_templates/union_data_view_definition.t mpl",
33 "$mojom_generator_root/generators/cpp_templates/union_declaration.tmpl", 34 "$mojom_generator_root/generators/cpp_templates/union_declaration.tmpl",
34 "$mojom_generator_root/generators/cpp_templates/union_definition.tmpl", 35 "$mojom_generator_root/generators/cpp_templates/union_definition.tmpl",
35 "$mojom_generator_root/generators/cpp_templates/union_serialization_declarat ion.tmpl", 36 "$mojom_generator_root/generators/cpp_templates/union_serialization_declarat ion.tmpl",
36 "$mojom_generator_root/generators/cpp_templates/union_serialization_definiti on.tmpl", 37 "$mojom_generator_root/generators/cpp_templates/union_traits_declaration.tmp l",
38 "$mojom_generator_root/generators/cpp_templates/union_traits_definition.tmpl ",
37 "$mojom_generator_root/generators/cpp_templates/validation_macros.tmpl", 39 "$mojom_generator_root/generators/cpp_templates/validation_macros.tmpl",
38 "$mojom_generator_root/generators/cpp_templates/wrapper_class_declaration.tm pl", 40 "$mojom_generator_root/generators/cpp_templates/wrapper_class_declaration.tm pl",
39 "$mojom_generator_root/generators/cpp_templates/wrapper_class_definition.tmp l", 41 "$mojom_generator_root/generators/cpp_templates/wrapper_class_definition.tmp l",
40 "$mojom_generator_root/generators/cpp_templates/wrapper_class_template_defin ition.tmpl", 42 "$mojom_generator_root/generators/cpp_templates/wrapper_class_template_defin ition.tmpl",
41 "$mojom_generator_root/generators/cpp_templates/wrapper_union_class_declarat ion.tmpl", 43 "$mojom_generator_root/generators/cpp_templates/wrapper_union_class_declarat ion.tmpl",
42 "$mojom_generator_root/generators/cpp_templates/wrapper_union_class_definiti on.tmpl", 44 "$mojom_generator_root/generators/cpp_templates/wrapper_union_class_definiti on.tmpl",
43 "$mojom_generator_root/generators/cpp_templates/wrapper_union_class_template _definition.tmpl", 45 "$mojom_generator_root/generators/cpp_templates/wrapper_union_class_template _definition.tmpl",
44 "$mojom_generator_root/generators/java_templates/constant_definition.tmpl", 46 "$mojom_generator_root/generators/java_templates/constant_definition.tmpl",
45 "$mojom_generator_root/generators/java_templates/constants.java.tmpl", 47 "$mojom_generator_root/generators/java_templates/constants.java.tmpl",
46 "$mojom_generator_root/generators/java_templates/data_types_definition.tmpl" , 48 "$mojom_generator_root/generators/java_templates/data_types_definition.tmpl" ,
(...skipping 19 matching lines...) Expand all
66 "$target_gen_dir/java_templates.zip", 68 "$target_gen_dir/java_templates.zip",
67 "$target_gen_dir/js_templates.zip", 69 "$target_gen_dir/js_templates.zip",
68 ] 70 ]
69 args = [ 71 args = [
70 "--use_bundled_pylibs", 72 "--use_bundled_pylibs",
71 "precompile", 73 "precompile",
72 "-o", 74 "-o",
73 rebase_path(target_gen_dir), 75 rebase_path(target_gen_dir),
74 ] 76 ]
75 } 77 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698