• 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: //extensions:strings
9      'target_name': 'extensions_strings',
10      'type': 'none',
11      'actions': [
12        {
13          'action_name': 'generate_extensions_strings',
14          'variables': {
15            'grit_grd_file': 'extensions_strings.grd',
16            'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions/strings',
17          },
18          'includes': [ '../build/grit_action.gypi' ],
19        },
20      ],
21      'direct_dependent_settings': {
22        'include_dirs': [
23          '<(SHARED_INTERMEDIATE_DIR)/extensions/strings',
24        ],
25      },
26      # This target generates extensions_strings.h so it must be built before
27      # targets that depend on it.
28      'hard_dependency': 1,
29    },
30  ],
31}
32