OLD | NEW |
| (Empty) |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 # This file is mostly a copy of base/grit_action.gypi . There are two | |
6 # differences: | |
7 # 1. Remoting resources are build with a different resource_ids file. | |
8 # 2. File specified by variable base_grit_grd_file is used to generate list of | |
9 # inputs and outputs. | |
10 | |
11 { | |
12 'variables': { | |
13 'grit_cmd': ['python', '<(DEPTH)/tools/grit/grit.py'], | |
14 }, | |
15 'inputs': [ | |
16 '<(resource_ids_file)', | |
17 '<(grit_grd_file)', | |
18 '<!@pymod_do_main(grit_info <@(grit_defines) ' | |
19 '--inputs <(base_grit_grd_file) -fresource_ids)', | |
20 ], | |
21 'outputs': [ | |
22 '<!@pymod_do_main(grit_info <@(grit_defines) ' | |
23 '--outputs \'<(grit_out_dir)\' <(base_grit_grd_file) -fresource_ids)', | |
24 ], | |
25 'action': ['<@(grit_cmd)', | |
26 '-i', '<(grit_grd_file)', 'build', | |
27 '-fresource_ids', | |
28 '-o', '<(grit_out_dir)', | |
29 '<@(grit_defines)' ], | |
30 'msvs_cygwin_shell': 0, | |
31 'message': 'Generating resources from <(grit_grd_file)', | |
32 } | |
OLD | NEW |