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 # TODO(sky): uncomment this once gyp bug fixed and remove explicit |
12 '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))', | 12 # setting everywhere |
| 13 # 'mojom_base_output_dir': |
| 14 # '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))', |
13 'mojom_bindings_generator': | 15 'mojom_bindings_generator': |
14 '<(DEPTH)/mojo/public/bindings/mojom_bindings_generator.py', | 16 '<(DEPTH)/mojo/public/bindings/mojom_bindings_generator.py', |
15 }, | 17 }, |
16 'inputs': [ | 18 'inputs': [ |
17 '<(mojom_bindings_generator)', | 19 '<(mojom_bindings_generator)', |
18 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/enum_declaration
.tmpl', | 20 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/enum_declaration
.tmpl', |
19 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_declar
ation.tmpl', | 21 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_declar
ation.tmpl', |
20 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_defini
tion.tmpl', | 22 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_defini
tion.tmpl', |
21 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_macros
.tmpl', | 23 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_macros
.tmpl', |
22 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_proxy_
declaration.tmpl', | 24 '<(DEPTH)/mojo/public/bindings/generators/cpp_templates/interface_proxy_
declaration.tmpl', |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 '<(SHARED_INTERMEDIATE_DIR)', | 71 '<(SHARED_INTERMEDIATE_DIR)', |
70 ], | 72 ], |
71 'direct_dependent_settings': { | 73 'direct_dependent_settings': { |
72 'include_dirs': [ | 74 'include_dirs': [ |
73 '<(DEPTH)', | 75 '<(DEPTH)', |
74 '<(SHARED_INTERMEDIATE_DIR)', | 76 '<(SHARED_INTERMEDIATE_DIR)', |
75 ], | 77 ], |
76 }, | 78 }, |
77 'hard_dependency': 1, | 79 'hard_dependency': 1, |
78 } | 80 } |
OLD | NEW |