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 'actions': [ | 9 'actions': [ |
10 { | 10 { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 '-d', '<(DEPTH)', | 56 '-d', '<(DEPTH)', |
57 '<@(mojom_import_args)', | 57 '<@(mojom_import_args)', |
58 '-o', '<(SHARED_INTERMEDIATE_DIR)', | 58 '-o', '<(SHARED_INTERMEDIATE_DIR)', |
59 '--java_output_directory=<(java_out_dir)', | 59 '--java_output_directory=<(java_out_dir)', |
60 '--dart_mojo_root=//third_party/mojo/src', | 60 '--dart_mojo_root=//third_party/mojo/src', |
61 ], | 61 ], |
62 'message': 'Generating Mojo bindings from <(RULE_INPUT_DIRNAME)/<(RULE_INP
UT_ROOT).mojom', | 62 'message': 'Generating Mojo bindings from <(RULE_INPUT_DIRNAME)/<(RULE_INP
UT_ROOT).mojom', |
63 'process_outputs_as_sources': 1, | 63 'process_outputs_as_sources': 1, |
64 } | 64 } |
65 ], | 65 ], |
| 66 'dependencies': [ |
| 67 '<(DEPTH)/third_party/mojo/mojo_public.gyp:mojo_interface_bindings_generatio
n', |
| 68 ], |
66 'include_dirs': [ | 69 'include_dirs': [ |
67 '<(DEPTH)', | 70 '<(DEPTH)', |
68 '<(DEPTH)/third_party/mojo/src', | 71 '<(DEPTH)/third_party/mojo/src', |
69 '<(SHARED_INTERMEDIATE_DIR)', | 72 '<(SHARED_INTERMEDIATE_DIR)', |
70 '<(SHARED_INTERMEDIATE_DIR)/third_party/mojo/src', | 73 '<(SHARED_INTERMEDIATE_DIR)/third_party/mojo/src', |
71 ], | 74 ], |
72 'direct_dependent_settings': { | 75 'direct_dependent_settings': { |
73 'include_dirs': [ | 76 'include_dirs': [ |
74 '<(DEPTH)', | 77 '<(DEPTH)', |
75 '<(DEPTH)/third_party/mojo/src', | 78 '<(DEPTH)/third_party/mojo/src', |
76 '<(SHARED_INTERMEDIATE_DIR)', | 79 '<(SHARED_INTERMEDIATE_DIR)', |
77 '<(SHARED_INTERMEDIATE_DIR)/third_party/mojo/src', | 80 '<(SHARED_INTERMEDIATE_DIR)/third_party/mojo/src', |
78 ], | 81 ], |
79 'variables': { | 82 'variables': { |
80 'generated_src_dirs': [ | 83 'generated_src_dirs': [ |
81 '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src', | 84 '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src', |
82 ], | 85 ], |
83 'additional_input_paths': [ | 86 'additional_input_paths': [ |
84 '<@(mojom_bindings_generator_sources)', | 87 '<@(mojom_bindings_generator_sources)', |
85 '<@(_sources)', | 88 '<@(_sources)', |
86 ], | 89 ], |
87 }, | 90 }, |
88 }, | 91 }, |
89 'hard_dependency': 1, | 92 'hard_dependency': 1, |
90 } | 93 } |
OLD | NEW |