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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
54 'action_name': '<(_target_name)_mojom_bindings_stamp', | 54 'action_name': '<(_target_name)_mojom_bindings_stamp', |
55 # The java output directory is deleted to ensure that the java library | 55 # The java output directory is deleted to ensure that the java library |
56 # doesn't try to compile stale files. | 56 # doesn't try to compile stale files. |
57 'action': [ | 57 'action': [ |
58 'python', '<(DEPTH)/build/rmdir_and_stamp.py', | 58 'python', '<(DEPTH)/build/rmdir_and_stamp.py', |
59 '<(java_out_dir)', | 59 '<(java_out_dir)', |
60 '<(stamp_filename)', | 60 '<(stamp_filename)', |
61 ], | 61 ], |
62 'inputs': [ | 62 'inputs': [ |
63 '<@(mojom_files)', | 63 '<@(mojom_files)', |
64 '<(SHARED_INTERMEDIATE_DIR)/mojo/public/tools/bindings/cpp_templates.zip ', | |
65 '<(SHARED_INTERMEDIATE_DIR)/mojo/public/tools/bindings/java_templates.zi p', | |
66 '<(SHARED_INTERMEDIATE_DIR)/mojo/public/tools/bindings/js_templates.zip' , | |
67 ], | 64 ], |
68 'outputs': [ '<(stamp_filename)' ], | 65 'outputs': [ '<(stamp_filename)' ], |
69 }, | 66 }, |
70 { | 67 { |
71 'action_name': '<(_target_name)_mojom_bindings_generator', | 68 'action_name': '<(_target_name)_mojom_bindings_generator', |
72 'variables': { | 69 'variables': { |
73 'java_out_dir': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src', | 70 'java_out_dir': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src', |
74 'stamp_filename': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/<(_target_na me).stamp', | 71 'stamp_filename': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/<(_target_na me).stamp', |
75 'mojom_import_args%': [ | 72 'mojom_import_args%': [ |
76 '-I<(DEPTH)', | 73 '-I<(DEPTH)', |
77 '-I<(DEPTH)/mojo/services', | 74 '-I<(DEPTH)/mojo/services', |
78 '-I<(mojom_include_path)', | 75 '-I<(mojom_include_path)', |
79 ], | 76 ], |
80 }, | 77 }, |
81 'inputs': [ | 78 'inputs': [ |
82 '<@(mojom_bindings_generator_sources)', | 79 '<@(mojom_bindings_generator_sources)', |
83 '<@(mojom_files)', | 80 '<@(mojom_files)', |
84 '<(stamp_filename)', | 81 '<(stamp_filename)', |
82 '<(SHARED_INTERMEDIATE_DIR)/mojo/public/tools/bindings/cpp_templates.zip ', | |
Ken Rockot(use gerrit already)
2016/04/06 14:54:59
Heh, this probably explains a weird error I only s
| |
83 '<(SHARED_INTERMEDIATE_DIR)/mojo/public/tools/bindings/java_templates.zi p', | |
84 '<(SHARED_INTERMEDIATE_DIR)/mojo/public/tools/bindings/js_templates.zip' , | |
85 ], | 85 ], |
86 'outputs': [ | 86 'outputs': [ |
87 '<@(mojom_generated_outputs)', | 87 '<@(mojom_generated_outputs)', |
88 ], | 88 ], |
89 'action': [ | 89 'action': [ |
90 'python', '<@(mojom_bindings_generator)', | 90 'python', '<@(mojom_bindings_generator)', |
91 '--use_bundled_pylibs', 'generate', | 91 '--use_bundled_pylibs', 'generate', |
92 '<@(mojom_files)', | 92 '<@(mojom_files)', |
93 '-d', '<(DEPTH)', | 93 '-d', '<(DEPTH)', |
94 '<@(mojom_import_args)', | 94 '<@(mojom_import_args)', |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
151 ], | 151 ], |
152 'additional_input_paths': [ | 152 'additional_input_paths': [ |
153 '<@(mojom_bindings_generator_sources)', | 153 '<@(mojom_bindings_generator_sources)', |
154 '<@(mojom_files)', | 154 '<@(mojom_files)', |
155 ], | 155 ], |
156 'mojom_generated_sources': [ '<@(mojom_generated_outputs)' ], | 156 'mojom_generated_sources': [ '<@(mojom_generated_outputs)' ], |
157 }, | 157 }, |
158 } | 158 } |
159 }, | 159 }, |
160 } | 160 } |
OLD | NEW |