summaryrefslogtreecommitdiffstats
path: root/components/component_resources.gyp
blob: 94839c1f48664b4b8e4a2d8bac67d7a7de69e972 (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
# 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.

{
  'variables': {
    'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
  },
  'targets': [
    {
      'target_name': 'component_resources',
      'type': 'none',
      'actions': [
        {
          'action_name': 'component_resources',
          'variables': {
            'grit_grd_file': 'component_resources.grd',
            'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/component_resources',
          },
          'includes': [ '../build/grit_action.gypi' ],
        },
      ],
     'direct_dependent_settings': {
        'include_dirs': [
            '<(SHARED_INTERMEDIATE_DIR)/component_resources',
          ],
        },
    },
  ],
}