OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'component_resources', | 8 'target_name': 'component_resources', |
9 'type': 'none', | 9 'type': 'none', |
10 'variables': { | 10 'variables': { |
11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components', | 11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components', |
12 }, | 12 }, |
13 'actions': [ | 13 'actions': [ |
14 { | 14 { |
15 'action_name': 'component_resources', | 15 'action_name': 'generate_component_resources', |
16 'variables': { | 16 'variables': { |
17 'grit_grd_file': 'component_resources.grd', | 17 'grit_grd_file': 'component_resources.grd', |
18 }, | 18 }, |
19 'includes': [ '../build/grit_action.gypi' ], | 19 'includes': [ '../build/grit_action.gypi' ], |
20 }, | 20 }, |
21 { | |
22 'action_name': 'generate_autofill_resources', | |
Jói
2014/02/24 12:25:48
I'm not sure it's a good idea to add more .grd fil
tfarina
2014/02/24 16:12:04
This was the first way I went but since grit compl
| |
23 'variables': { | |
24 'grit_grd_file': 'autofill/resources/autofill_resources.grd', | |
25 }, | |
26 'includes': [ '../build/grit_action.gypi' ], | |
27 }, | |
21 ], | 28 ], |
22 'includes': [ '../build/grit_target.gypi' ], | 29 'includes': [ '../build/grit_target.gypi' ], |
23 }, | 30 }, |
24 ], | 31 ], |
25 } | 32 } |
OLD | NEW |