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 'variables': { | 6 'variables': { |
7 'output_dir': '<(SHARED_INTERMEDIATE_DIR)/mojom', | 7 'output_dir': '<(SHARED_INTERMEDIATE_DIR)/mojom', |
8 }, | 8 }, |
9 'rules': [ | 9 'rules': [ |
10 { | 10 { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 'python', '<@(mojom_bindings_generator)', | 58 'python', '<@(mojom_bindings_generator)', |
59 '<(RULE_INPUT_PATH)', | 59 '<(RULE_INPUT_PATH)', |
60 '-i', 'mojom', | 60 '-i', 'mojom', |
61 '-o', '<(output_dir)', | 61 '-o', '<(output_dir)', |
62 ], | 62 ], |
63 'message': 'Generating C++ from mojom <(RULE_INPUT_PATH)', | 63 'message': 'Generating C++ from mojom <(RULE_INPUT_PATH)', |
64 'process_outputs_as_sources': 1, | 64 'process_outputs_as_sources': 1, |
65 } | 65 } |
66 ], | 66 ], |
67 'dependencies': [ | 67 'dependencies': [ |
68 'mojo_bindings', | 68 '<(DEPTH)/mojo/mojo.gyp:mojo_bindings', |
69 'mojo_system', | 69 '<(DEPTH)/mojo/mojo.gyp:mojo_system', |
70 ], | 70 ], |
71 'include_dirs': [ | 71 'include_dirs': [ |
72 '<(DEPTH)', | 72 '<(DEPTH)', |
73 '<(SHARED_INTERMEDIATE_DIR)', | 73 '<(SHARED_INTERMEDIATE_DIR)', |
74 ], | 74 ], |
75 'direct_dependent_settings': { | 75 'direct_dependent_settings': { |
76 'include_dirs': [ | 76 'include_dirs': [ |
77 '<(DEPTH)', | 77 '<(DEPTH)', |
78 '<(SHARED_INTERMEDIATE_DIR)', | 78 '<(SHARED_INTERMEDIATE_DIR)', |
79 ], | 79 ], |
80 }, | 80 }, |
81 'hard_dependency': 1, | 81 'hard_dependency': 1, |
82 } | 82 } |
OLD | NEW |