OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'output_dir': '<(SHARED_INTERMEDIATE_DIR)/mojom', | 7 'output_dir': '<(SHARED_INTERMEDIATE_DIR)/mojom', |
8 }, | 8 }, |
9 'rules': [ | 9 'rules': [ |
10 { | 10 { |
11 'rule_name': 'Generate C++ source files from mojom files', | 11 'rule_name': 'Generate C++ source files from mojom files', |
12 'extension': 'mojom', | 12 'extension': 'mojom', |
13 'variables': { | 13 'variables': { |
14 'mojom_bindings_generator': | 14 'mojom_bindings_generator': |
15 '<(DEPTH)/mojo/public/bindings/mojom_bindings_generator.py', | 15 '<(DEPTH)/mojo/public/bindings/mojom_bindings_generator.py', |
16 }, | 16 }, |
17 'inputs': [ | 17 'inputs': [ |
18 '<(mojom_bindings_generator)', | 18 '<(mojom_bindings_generator)', |
19 '<(DEPTH)/mojo/public/bindings/parse/mojo_parser.py', | 19 '<(DEPTH)/mojo/public/bindings/parse/mojo_parser.py', |
20 '<(DEPTH)/mojo/public/bindings/parse/mojo_translate.py', | 20 '<(DEPTH)/mojo/public/bindings/parse/mojo_translate.py', |
21 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_declar
ation.tmpl', | 21 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_declar
ation.tmpl', |
22 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_defini
tion.tmpl', | 22 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_defini
tion.tmpl', |
23 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_proxy_
declaration.tmpl', | 23 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_proxy_
declaration.tmpl', |
24 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_stub_d
eclaration.tmpl', | 24 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_stub_d
eclaration.tmpl', |
25 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/module.cc.tmpl', | 25 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/module.cc.tmpl', |
26 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/module.h.tmpl', | 26 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/module.h.tmpl', |
27 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/module_internal.
h.tmpl', | 27 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/module_internal.
h.tmpl', |
28 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/params_definitio
n.tmpl', | 28 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/params_definitio
n.tmpl', |
29 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/params_serializa
tion.tmpl', | |
30 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_builder_d
efinition.tmpl', | 29 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_builder_d
efinition.tmpl', |
31 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_declarati
on.tmpl', | 30 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_declarati
on.tmpl', |
32 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_definitio
n.tmpl', | 31 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_definitio
n.tmpl', |
33 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_destructo
r.tmpl', | 32 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_destructo
r.tmpl', |
34 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_macros.tm
pl', | 33 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_macros.tm
pl', |
35 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_serializa
tion_definition.tmpl', | |
36 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_serializa
tion_traits.tmpl', | |
37 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/wrapper_class_de
claration.tmpl', | 34 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/wrapper_class_de
claration.tmpl', |
38 '<(DEPTH)/mojo/public/bindings/generators/js_templates/interface_definit
ion.tmpl', | 35 '<(DEPTH)/mojo/public/bindings/generators/js_templates/interface_definit
ion.tmpl', |
39 '<(DEPTH)/mojo/public/bindings/generators/js_templates/module.js.tmpl', | 36 '<(DEPTH)/mojo/public/bindings/generators/js_templates/module.js.tmpl', |
40 '<(DEPTH)/mojo/public/bindings/generators/js_templates/struct_definition
.tmpl', | 37 '<(DEPTH)/mojo/public/bindings/generators/js_templates/struct_definition
.tmpl', |
41 '<(DEPTH)/mojo/public/bindings/generators/mojom.py', | 38 '<(DEPTH)/mojo/public/bindings/generators/mojom.py', |
42 '<(DEPTH)/mojo/public/bindings/generators/mojom_data.py', | 39 '<(DEPTH)/mojo/public/bindings/generators/mojom_data.py', |
43 '<(DEPTH)/mojo/public/bindings/generators/mojom_generator.py', | 40 '<(DEPTH)/mojo/public/bindings/generators/mojom_generator.py', |
44 '<(DEPTH)/mojo/public/bindings/generators/mojom_jinja_generator.py', | 41 '<(DEPTH)/mojo/public/bindings/generators/mojom_jinja_generator.py', |
45 '<(DEPTH)/mojo/public/bindings/generators/mojom_pack.py', | 42 '<(DEPTH)/mojo/public/bindings/generators/mojom_pack.py', |
46 '<(DEPTH)/mojo/public/bindings/generators/template_expander.py', | 43 '<(DEPTH)/mojo/public/bindings/generators/template_expander.py', |
(...skipping 23 matching lines...) Expand all Loading... |
70 '<(SHARED_INTERMEDIATE_DIR)', | 67 '<(SHARED_INTERMEDIATE_DIR)', |
71 ], | 68 ], |
72 'direct_dependent_settings': { | 69 'direct_dependent_settings': { |
73 'include_dirs': [ | 70 'include_dirs': [ |
74 '<(DEPTH)', | 71 '<(DEPTH)', |
75 '<(SHARED_INTERMEDIATE_DIR)', | 72 '<(SHARED_INTERMEDIATE_DIR)', |
76 ], | 73 ], |
77 }, | 74 }, |
78 'hard_dependency': 1, | 75 'hard_dependency': 1, |
79 } | 76 } |
OLD | NEW |