summaryrefslogtreecommitdiffstats
path: root/ash/ash_resources.gypi
blob: cdec48da5afa8dc57a34cf5ea8605d1c00a1f152 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'ash_resources',
      'type': 'none',
      'variables': {
        'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources',
      },
      'actions': [
        {
          'action_name': 'ash_resources',
          'variables': {
            'grit_grd_file': 'resources/ash_resources.grd',
          },
          'includes': [ '../build/grit_action.gypi' ],
        },
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources',
        ],
      },
    },
    {
      'target_name': 'ash_wallpaper_resources',
      'type': 'none',
      'conditions': [
        ['use_ash==1', {
          'variables': {
            'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources',
          },
          'actions': [
            {
              'action_name': 'ash_wallpapers_resources',
              'variables': {
                'grit_grd_file': 'resources/ash_wallpaper_resources.grd',
              },
              'includes': [ '../build/grit_action.gypi' ],
            },
          ],
          'includes': [ '../build/grit_target.gypi' ],
        }],
      ],
    },
  ],
}