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

Side by Side Diff: mojo/public/tools/bindings/bindings.gyp

Issue 1572213002: Precompile mojom bindings generator jinja templates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'includes': [
7 '../../../../third_party/mojo/mojom_bindings_generator_variables.gypi',
8 ],
9 'targets': [
10 {
11 'target_name': 'precompile_mojom_bindings_generator_templates',
12 'type': 'none',
13 'actions': [
14 {
15 'action_name': 'precompile_mojom_bindings_generator_templates',
16 'inputs': [
17 '<@(mojom_bindings_generator_sources)',
18 'generators/cpp_templates/enum_macros.tmpl',
19 'generators/cpp_templates/interface_declaration.tmpl',
20 'generators/cpp_templates/interface_definition.tmpl',
21 'generators/cpp_templates/interface_macros.tmpl',
22 'generators/cpp_templates/interface_proxy_declaration.tmpl',
23 'generators/cpp_templates/interface_request_validator_declaration.tm pl',
24 'generators/cpp_templates/interface_response_validator_declaration.t mpl',
25 'generators/cpp_templates/interface_stub_declaration.tmpl',
26 'generators/cpp_templates/module.cc.tmpl',
27 'generators/cpp_templates/module.h.tmpl',
28 'generators/cpp_templates/module-internal.h.tmpl',
29 'generators/cpp_templates/struct_declaration.tmpl',
30 'generators/cpp_templates/struct_definition.tmpl',
31 'generators/cpp_templates/struct_macros.tmpl',
32 'generators/cpp_templates/struct_serialization_definition.tmpl',
33 'generators/cpp_templates/wrapper_class_declaration.tmpl',
34 'generators/cpp_templates/wrapper_class_definition.tmpl',
35 'generators/java_templates/constant_definition.tmpl',
36 'generators/java_templates/constants.java.tmpl',
37 'generators/java_templates/data_types_definition.tmpl',
38 'generators/java_templates/enum_definition.tmpl',
39 'generators/java_templates/enum.java.tmpl',
40 'generators/java_templates/header.java.tmpl',
41 'generators/java_templates/interface_definition.tmpl',
42 'generators/java_templates/interface_internal.java.tmpl',
43 'generators/java_templates/interface.java.tmpl',
44 'generators/java_templates/struct.java.tmpl',
45 'generators/java_templates/union.java.tmpl',
46 'generators/js_templates/enum_definition.tmpl',
47 'generators/js_templates/interface_definition.tmpl',
48 'generators/js_templates/module_definition.tmpl',
49 'generators/js_templates/module.amd.tmpl',
50 'generators/js_templates/struct_definition.tmpl',
51 'generators/js_templates/union_definition.tmpl',
52 'generators/js_templates/validation_macros.tmpl',
53 ],
54 'outputs': [
55 '<(SHARED_INTERMEDIATE_DIR)/mojo/public/tools/bindings/cpp_templates .zip',
56 '<(SHARED_INTERMEDIATE_DIR)/mojo/public/tools/bindings/java_template s.zip',
57 '<(SHARED_INTERMEDIATE_DIR)/mojo/public/tools/bindings/js_templates. zip',
58 ],
59 'action': [
60 'python', '<@(mojom_bindings_generator)',
61 '--use_bundled_pylibs', 'precompile',
62 '-o', '<(SHARED_INTERMEDIATE_DIR)/mojo/public/tools/bindings',
63 ],
64 }
65 ],
66 },
67 ],
68 }
69
OLDNEW
« no previous file with comments | « mojo/public/tools/bindings/BUILD.gn ('k') | mojo/public/tools/bindings/generators/mojom_cpp_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698