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 'rules': [ | 9 'rules': [ |
10 { | 10 { |
(...skipping 13 matching lines...) Expand all Loading... |
24 'outputs': [ | 24 'outputs': [ |
25 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom.cc', | 25 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom.cc', |
26 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom.h', | 26 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom.h', |
27 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom.js', | 27 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom.js', |
28 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT)_mojom.py', | 28 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT)_mojom.py', |
29 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom-internal.h', | 29 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM
E)/<(RULE_INPUT_ROOT).mojom-internal.h', |
30 ], | 30 ], |
31 'action': [ | 31 'action': [ |
32 'python', '<@(mojom_bindings_generator)', | 32 'python', '<@(mojom_bindings_generator)', |
33 './<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).mojom', | 33 './<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).mojom', |
34 '--use_chromium_bundled_pylibs', | 34 '--use_bundled_pylibs', |
35 '-d', '<(DEPTH)', | 35 '-d', '<(DEPTH)', |
36 '<@(mojom_import_args)', | 36 '<@(mojom_import_args)', |
37 '-o', '<(SHARED_INTERMEDIATE_DIR)', | 37 '-o', '<(SHARED_INTERMEDIATE_DIR)', |
38 '--java_output_directory=<(java_out_dir)', | 38 '--java_output_directory=<(java_out_dir)', |
39 ], | 39 ], |
40 'message': 'Generating Mojo bindings from <(RULE_INPUT_DIRNAME)/<(RULE_INP
UT_ROOT).mojom', | 40 'message': 'Generating Mojo bindings from <(RULE_INPUT_DIRNAME)/<(RULE_INP
UT_ROOT).mojom', |
41 'process_outputs_as_sources': 1, | 41 'process_outputs_as_sources': 1, |
42 } | 42 } |
43 ], | 43 ], |
44 'include_dirs': [ | 44 'include_dirs': [ |
45 '<(DEPTH)', | 45 '<(DEPTH)', |
46 '<(SHARED_INTERMEDIATE_DIR)', | 46 '<(SHARED_INTERMEDIATE_DIR)', |
47 ], | 47 ], |
48 'direct_dependent_settings': { | 48 'direct_dependent_settings': { |
49 'include_dirs': [ | 49 'include_dirs': [ |
50 '<(DEPTH)', | 50 '<(DEPTH)', |
51 '<(SHARED_INTERMEDIATE_DIR)', | 51 '<(SHARED_INTERMEDIATE_DIR)', |
52 ], | 52 ], |
53 'variables': { | 53 'variables': { |
54 'generated_src_dirs': [ | 54 'generated_src_dirs': [ |
55 '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src', | 55 '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src', |
56 ], | 56 ], |
57 }, | 57 }, |
58 }, | 58 }, |
59 'hard_dependency': 1, | 59 'hard_dependency': 1, |
60 } | 60 } |
OLD | NEW |