OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 'rules': [ | 6 'rules': [ |
7 { | 7 { |
8 'rule_name': 'Generate C++ source files from mojom files', | 8 'rule_name': 'Generate C++ source files from mojom files', |
9 'extension': 'mojom', | 9 'extension': 'mojom', |
10 'variables': { | 10 'variables': { |
11 'mojom_base_output_dir': | 11 'mojom_base_output_dir': |
12 '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))', | 12 '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))', |
13 'mojom_bindings_generator': | 13 'mojom_bindings_generator': |
14 '<(DEPTH)/mojo/public/bindings/mojom_bindings_generator.py', | 14 '<(DEPTH)/mojo/public/bindings/mojom_bindings_generator.py', |
15 }, | 15 }, |
16 'inputs': [ | 16 'inputs': [ |
17 '<(mojom_bindings_generator)', | 17 '<(mojom_bindings_generator)', |
18 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/enum_declaration
.tmpl', | 18 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/enum_declaration
.tmpl', |
19 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_declar
ation.tmpl', | 19 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_declar
ation.tmpl', |
20 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_defini
tion.tmpl', | 20 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_defini
tion.tmpl', |
| 21 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_macros
.tmpl', |
21 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_proxy_
declaration.tmpl', | 22 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_proxy_
declaration.tmpl', |
22 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_stub_d
eclaration.tmpl', | 23 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_stub_d
eclaration.tmpl', |
23 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/module.cc.tmpl', | 24 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/module.cc.tmpl', |
24 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/module.h.tmpl', | 25 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/module.h.tmpl', |
25 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/module-internal.
h.tmpl', | 26 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/module-internal.
h.tmpl', |
26 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/params_definitio
n.tmpl', | 27 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/params_definitio
n.tmpl', |
27 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_builder_d
efinition.tmpl', | 28 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_builder_d
efinition.tmpl', |
28 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_declarati
on.tmpl', | 29 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_declarati
on.tmpl', |
29 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_definitio
n.tmpl', | 30 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_definitio
n.tmpl', |
30 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_destructo
r.tmpl', | 31 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/struct_destructo
r.tmpl', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 '<(SHARED_INTERMEDIATE_DIR)', | 69 '<(SHARED_INTERMEDIATE_DIR)', |
69 ], | 70 ], |
70 'direct_dependent_settings': { | 71 'direct_dependent_settings': { |
71 'include_dirs': [ | 72 'include_dirs': [ |
72 '<(DEPTH)', | 73 '<(DEPTH)', |
73 '<(SHARED_INTERMEDIATE_DIR)', | 74 '<(SHARED_INTERMEDIATE_DIR)', |
74 ], | 75 ], |
75 }, | 76 }, |
76 'hard_dependency': 1, | 77 'hard_dependency': 1, |
77 } | 78 } |
OLD | NEW |