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 { |
(...skipping 11 matching lines...) Expand all Loading... | |
22 '<(DEPTH)/mojo/public/bindings/generators/js_templates/module.js.tmpl', | 22 '<(DEPTH)/mojo/public/bindings/generators/js_templates/module.js.tmpl', |
23 '<(DEPTH)/mojo/public/bindings/generators/mojom.py', | 23 '<(DEPTH)/mojo/public/bindings/generators/mojom.py', |
24 '<(DEPTH)/mojo/public/bindings/generators/mojom_cpp_generator.py', | 24 '<(DEPTH)/mojo/public/bindings/generators/mojom_cpp_generator.py', |
25 '<(DEPTH)/mojo/public/bindings/generators/mojom_data.py', | 25 '<(DEPTH)/mojo/public/bindings/generators/mojom_data.py', |
26 '<(DEPTH)/mojo/public/bindings/generators/mojom_generator.py', | 26 '<(DEPTH)/mojo/public/bindings/generators/mojom_generator.py', |
27 '<(DEPTH)/mojo/public/bindings/generators/mojom_js_generator.py', | 27 '<(DEPTH)/mojo/public/bindings/generators/mojom_js_generator.py', |
28 '<(DEPTH)/mojo/public/bindings/generators/mojom_pack.py', | 28 '<(DEPTH)/mojo/public/bindings/generators/mojom_pack.py', |
29 '<(DEPTH)/mojo/public/bindings/generators/template_expander.py', | 29 '<(DEPTH)/mojo/public/bindings/generators/template_expander.py', |
30 ], | 30 ], |
31 'outputs': [ | 31 'outputs': [ |
32 '<(output_dir)/<(RULE_INPUT_ROOT).cc', | |
32 '<(output_dir)/<(RULE_INPUT_ROOT).h', | 33 '<(output_dir)/<(RULE_INPUT_ROOT).h', |
34 '<(output_dir)/<(RULE_INPUT_ROOT).js', | |
abarth-chromium
2013/11/22 09:35:25
This change is a bit unrelated to the rest of the
| |
33 '<(output_dir)/<(RULE_INPUT_ROOT)_internal.h', | 35 '<(output_dir)/<(RULE_INPUT_ROOT)_internal.h', |
34 '<(output_dir)/<(RULE_INPUT_ROOT).cc', | |
35 ], | 36 ], |
36 'action': [ | 37 'action': [ |
37 'python', '<@(mojom_bindings_generator)', | 38 'python', '<@(mojom_bindings_generator)', |
38 '<(RULE_INPUT_PATH)', | 39 '<(RULE_INPUT_PATH)', |
39 '-i', 'mojom', | 40 '-i', 'mojom', |
40 '-o', '<(output_dir)', | 41 '-o', '<(output_dir)', |
41 ], | 42 ], |
42 'message': 'Generating C++ from mojom <(RULE_INPUT_PATH)', | 43 'message': 'Generating C++ from mojom <(RULE_INPUT_PATH)', |
43 'process_outputs_as_sources': 1, | 44 'process_outputs_as_sources': 1, |
44 } | 45 } |
45 ], | 46 ], |
46 'include_dirs': [ | 47 'include_dirs': [ |
47 '<(DEPTH)', | 48 '<(DEPTH)', |
48 '<(SHARED_INTERMEDIATE_DIR)', | 49 '<(SHARED_INTERMEDIATE_DIR)', |
49 ], | 50 ], |
50 'direct_dependent_settings': { | 51 'direct_dependent_settings': { |
51 'include_dirs': [ | 52 'include_dirs': [ |
52 '<(DEPTH)', | 53 '<(DEPTH)', |
53 '<(SHARED_INTERMEDIATE_DIR)', | 54 '<(SHARED_INTERMEDIATE_DIR)', |
54 ], | 55 ], |
55 }, | 56 }, |
56 'hard_dependency': 1, | 57 'hard_dependency': 1, |
57 } | 58 } |
OLD | NEW |