• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3# found in the LICENSE file.
4
5{
6  'targets': [
7    {
8      # GN version: //components/resources
9      'target_name': 'components_resources',
10      'type': 'none',
11      'variables': {
12        'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components',
13      },
14      'actions': [
15        {
16          # GN version: //components/resources:components_resources
17          'action_name': 'generate_components_resources',
18          'variables': {
19            'grit_grd_file': 'resources/components_resources.grd',
20          },
21          'includes': [ '../build/grit_action.gypi' ],
22        },
23        {
24          # GN version: //components/resources:components_scaled_resources
25          'action_name': 'generate_components_scaled_resources',
26          'variables': {
27            'grit_grd_file': 'resources/components_scaled_resources.grd',
28          },
29          'includes': [ '../build/grit_action.gypi' ],
30        },
31      ],
32      'includes': [ '../build/grit_target.gypi' ],
33    },
34  ],
35}
36