| 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 12 matching lines...) Expand all Loading... |
| 23 'outputs': [ | 23 'outputs': [ |
| 24 '<!@pymod_do_main(grit_info <@(grit_defines) --outputs \'<(grit_out_dir)\' <
(grit_grd_file))', | 24 '<!@pymod_do_main(grit_info <@(grit_defines) --outputs \'<(grit_out_dir)\' <
(grit_grd_file))', |
| 25 ], | 25 ], |
| 26 'action': ['<@(grit_cmd)', | 26 'action': ['<@(grit_cmd)', |
| 27 '-i', '<(grit_grd_file)', 'build', | 27 '-i', '<(grit_grd_file)', 'build', |
| 28 '-o', '<(grit_out_dir)', | 28 '-o', '<(grit_out_dir)', |
| 29 '<@(grit_defines)' ], | 29 '<@(grit_defines)' ], |
| 30 'message': 'Generating resources from <(grit_grd_file)', | 30 'message': 'Generating resources from <(grit_grd_file)', |
| 31 } | 31 } |
| 32 | 32 |
| 33 # Local Variables: | |
| 34 # tab-width:2 | |
| 35 # indent-tabs-mode:nil | |
| 36 # End: | |
| 37 # vim: set expandtab tabstop=2 shiftwidth=2: | |
| OLD | NEW |