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': { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 ], | 53 ], |
54 'outputs': [ | 54 'outputs': [ |
55 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom.cc', | 55 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom.cc', |
56 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom.h', | 56 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom.h', |
57 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom.js', | 57 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom.js', |
58 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom-internal.h', | 58 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom-internal.h', |
59 ], | 59 ], |
60 'action': [ | 60 'action': [ |
61 'python', '<@(mojom_bindings_generator)', | 61 'python', '<@(mojom_bindings_generator)', |
62 '<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).mojom', | 62 '<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).mojom', |
| 63 '--use_chromium_bundled_pylibs', |
63 '-d', '<(DEPTH)', | 64 '-d', '<(DEPTH)', |
64 '-o', '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_
DIRNAME)', | 65 '-o', '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_
DIRNAME)', |
65 ], | 66 ], |
66 'message': 'Generating Mojo bindings from <(RULE_INPUT_DIRNAME)/<(RULE_INP
UT_ROOT).mojom', | 67 'message': 'Generating Mojo bindings from <(RULE_INPUT_DIRNAME)/<(RULE_INP
UT_ROOT).mojom', |
67 'process_outputs_as_sources': 1, | 68 'process_outputs_as_sources': 1, |
68 } | 69 } |
69 ], | 70 ], |
70 'include_dirs': [ | 71 'include_dirs': [ |
71 '<(DEPTH)', | 72 '<(DEPTH)', |
72 '<(SHARED_INTERMEDIATE_DIR)', | 73 '<(SHARED_INTERMEDIATE_DIR)', |
73 ], | 74 ], |
74 'direct_dependent_settings': { | 75 'direct_dependent_settings': { |
75 'include_dirs': [ | 76 'include_dirs': [ |
76 '<(DEPTH)', | 77 '<(DEPTH)', |
77 '<(SHARED_INTERMEDIATE_DIR)', | 78 '<(SHARED_INTERMEDIATE_DIR)', |
78 ], | 79 ], |
79 }, | 80 }, |
80 'hard_dependency': 1, | 81 'hard_dependency': 1, |
81 } | 82 } |
OLD | NEW |