| 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 'includes': [ | 6 'includes': [ |
| 7 'mojom_bindings_generator_variables.gypi', | 7 'mojom_bindings_generator_variables.gypi', |
| 8 ], | 8 ], |
| 9 'variables': { | 9 'variables': { |
| 10 'mojom_base_output_dir': | 10 'mojom_base_output_dir': |
| 11 '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))', | 11 '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))', |
| 12 'mojom_generated_outputs': [ | 12 'mojom_generated_outputs': [ |
| 13 '<!@(python <(DEPTH)/third_party/mojo/src/mojo/public/tools/bindings/mojom
_list_outputs.py --basedir <(mojom_base_output_dir) <@(mojom_files))', | 13 '<!@(python <(DEPTH)/mojo/public/tools/bindings/mojom_list_outputs.py --ba
sedir <(mojom_base_output_dir) <@(mojom_files))', |
| 14 ], | 14 ], |
| 15 'mojom_include_path%': '<(DEPTH)', | 15 'mojom_include_path%': '<(DEPTH)', |
| 16 'require_interface_bindings%': 1, | 16 'require_interface_bindings%': 1, |
| 17 }, | 17 }, |
| 18 # Given mojom files as inputs, generate sources. These sources will be | 18 # Given mojom files as inputs, generate sources. These sources will be |
| 19 # exported to another target (via dependent_settings) to be compiled. This | 19 # exported to another target (via dependent_settings) to be compiled. This |
| 20 # keeps code generation separate from compilation, allowing the same sources | 20 # keeps code generation separate from compilation, allowing the same sources |
| 21 # to be compiled with multiple toolchains - target, NaCl, etc. | 21 # to be compiled with multiple toolchains - target, NaCl, etc. |
| 22 'actions': [ | 22 'actions': [ |
| 23 { | 23 { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 ], | 107 ], |
| 108 'additional_input_paths': [ | 108 'additional_input_paths': [ |
| 109 '<@(mojom_bindings_generator_sources)', | 109 '<@(mojom_bindings_generator_sources)', |
| 110 '<@(mojom_files)', | 110 '<@(mojom_files)', |
| 111 ], | 111 ], |
| 112 'mojom_generated_sources': [ '<@(mojom_generated_outputs)' ], | 112 'mojom_generated_sources': [ '<@(mojom_generated_outputs)' ], |
| 113 }, | 113 }, |
| 114 } | 114 } |
| 115 }, | 115 }, |
| 116 } | 116 } |
| OLD | NEW |