summaryrefslogtreecommitdiffstats
path: root/extensions/extensions_strings.gyp
blob: 3adaeb256616c249aeeed145613a84fa7d0abf74 (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
# Copyright 2014 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': [
    {
      # GN version: //extensions:strings
      'target_name': 'extensions_strings',
      'type': 'none',
      'actions': [
        {
          'action_name': 'generate_extensions_strings',
          'variables': {
            'grit_grd_file': 'extensions_strings.grd',
            'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions/strings',
          },
          'includes': [ '../build/grit_action.gypi' ],
        },
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '<(SHARED_INTERMEDIATE_DIR)/extensions/strings',
        ],
      },
      # This target generates extensions_strings.h so it must be built before
      # targets that depend on it.
      'hard_dependency': 1,
    },
  ],
}