| 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 'variables': { | 10 'variables': { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 '--bytecode_path', | 86 '--bytecode_path', |
| 87 '<(SHARED_INTERMEDIATE_DIR)/mojo/public/tools/bindings', | 87 '<(SHARED_INTERMEDIATE_DIR)/mojo/public/tools/bindings', |
| 88 ], | 88 ], |
| 89 'message': 'Generating Mojo bindings from <@(mojom_files)', | 89 'message': 'Generating Mojo bindings from <@(mojom_files)', |
| 90 } | 90 } |
| 91 ], | 91 ], |
| 92 'conditions': [ | 92 'conditions': [ |
| 93 ['require_interface_bindings==1', { | 93 ['require_interface_bindings==1', { |
| 94 'dependencies': [ | 94 'dependencies': [ |
| 95 '<(DEPTH)/base/base.gyp:base', | 95 '<(DEPTH)/base/base.gyp:base', |
| 96 '<(DEPTH)/mojo/mojo_public.gyp:mojo_interface_bindings_generation', |
| 96 '<(DEPTH)/mojo/public/tools/bindings/bindings.gyp:precompile_mojom_bindi
ngs_generator_templates', | 97 '<(DEPTH)/mojo/public/tools/bindings/bindings.gyp:precompile_mojom_bindi
ngs_generator_templates', |
| 97 '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_interface_bindings_gener
ation', | |
| 98 ], | 98 ], |
| 99 }], | 99 }], |
| 100 ], | 100 ], |
| 101 # Prevent the generated sources from being injected into the "all" target by | 101 # Prevent the generated sources from being injected into the "all" target by |
| 102 # preventing the code generator from being directly depended on by the "all" | 102 # preventing the code generator from being directly depended on by the "all" |
| 103 # target. | 103 # target. |
| 104 'suppress_wildcard': '1', | 104 'suppress_wildcard': '1', |
| 105 'hard_dependency': '1', | 105 'hard_dependency': '1', |
| 106 'direct_dependent_settings': { | 106 'direct_dependent_settings': { |
| 107 # A target directly depending on this action will compile the generated | 107 # A target directly depending on this action will compile the generated |
| (...skipping 22 matching lines...) Expand all Loading... |
| 130 ], | 130 ], |
| 131 'additional_input_paths': [ | 131 'additional_input_paths': [ |
| 132 '<@(mojom_bindings_generator_sources)', | 132 '<@(mojom_bindings_generator_sources)', |
| 133 '<@(mojom_files)', | 133 '<@(mojom_files)', |
| 134 ], | 134 ], |
| 135 'mojom_generated_sources': [ '<@(mojom_generated_outputs)' ], | 135 'mojom_generated_sources': [ '<@(mojom_generated_outputs)' ], |
| 136 }, | 136 }, |
| 137 } | 137 } |
| 138 }, | 138 }, |
| 139 } | 139 } |
| OLD | NEW |