OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 # This file is meant to be included into an action to invoke grit in a | 5 # This file is meant to be included into an action to invoke grit in a |
6 # consistent manner. To use this the following variables need to be | 6 # consistent manner. To use this the following variables need to be |
7 # defined: | 7 # defined: |
8 # grit_grd_file: string: grd file path | 8 # grit_grd_file: string: grd file path |
9 # grit_out_dir: string: the output directory path | 9 # grit_out_dir: string: the output directory path |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 '<!@pymod_do_main(grit_info <@(grit_defines) <@(grit_additional_defines) ' | 29 '<!@pymod_do_main(grit_info <@(grit_defines) <@(grit_additional_defines) ' |
30 '--outputs \'<(grit_out_dir)\' ' | 30 '--outputs \'<(grit_out_dir)\' ' |
31 '<(grit_grd_file) -f "<(grit_resource_ids)")', | 31 '<(grit_grd_file) -f "<(grit_resource_ids)")', |
32 ], | 32 ], |
33 'action': ['<@(grit_cmd)', | 33 'action': ['<@(grit_cmd)', |
34 '-i', '<(grit_grd_file)', 'build', | 34 '-i', '<(grit_grd_file)', 'build', |
35 '-f', '<(grit_resource_ids)', | 35 '-f', '<(grit_resource_ids)', |
36 '-o', '<(grit_out_dir)', | 36 '-o', '<(grit_out_dir)', |
37 '<@(grit_defines)', | 37 '<@(grit_defines)', |
38 '<@(grit_additional_defines)' ], | 38 '<@(grit_additional_defines)' ], |
39 'msvs_cygwin_shell': 0, | |
40 'message': 'Generating resources from <(grit_grd_file)', | 39 'message': 'Generating resources from <(grit_grd_file)', |
41 } | 40 } |
OLD | NEW |