OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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': 'ash_resources', | 8 'target_name': 'ash_resources', |
9 'type': 'none', | 9 'type': 'none', |
10 'variables': { | 10 'variables': { |
11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources', | 11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources', |
12 }, | 12 }, |
13 'actions': [ | 13 'actions': [ |
14 { | 14 { |
15 'action_name': 'ash_resources', | 15 'action_name': 'ash_resources', |
16 'variables': { | 16 'variables': { |
17 'grit_grd_file': 'resources/ash_resources.grd', | 17 'grit_grd_file': 'resources/ash_resources.grd', |
18 }, | 18 }, |
19 'includes': [ '../build/grit_action.gypi' ], | 19 'includes': [ '../build/grit_action.gypi' ], |
20 }, | 20 }, |
21 ], | 21 ], |
22 'direct_dependent_settings': { | 22 'direct_dependent_settings': { |
23 'include_dirs': [ | 23 'include_dirs': [ |
24 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources', | 24 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources', |
25 ], | 25 ], |
26 }, | 26 }, |
27 }, | 27 }, |
| 28 { |
| 29 'target_name': 'ash_wallpaper_resources', |
| 30 'type': 'none', |
| 31 'conditions': [ |
| 32 ['use_ash==1', { |
| 33 'variables': { |
| 34 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources', |
| 35 }, |
| 36 'actions': [ |
| 37 { |
| 38 'action_name': 'ash_wallpapers_resources', |
| 39 'variables': { |
| 40 'grit_grd_file': 'resources/ash_wallpaper_resources.grd', |
| 41 }, |
| 42 'includes': [ '../build/grit_action.gypi' ], |
| 43 }, |
| 44 ], |
| 45 'includes': [ '../build/grit_target.gypi' ], |
| 46 }], |
| 47 ], |
| 48 }, |
28 ], | 49 ], |
29 } | 50 } |
OLD | NEW |