summaryrefslogtreecommitdiffstats
path: root/ui/strings/ui_strings.gyp
blob: 02ae903d16d4f150c4e8f79b3032febf9efbb1df (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
# 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.

{
  'variables': {
    'chromium_code': 1,
    'grit_base_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui',
  },
  'targets': [
    {
      'target_name': 'ui_strings',
      'type': 'none',
      'actions': [
        {
          'action_name': 'ui_strings',
          'variables': {
            'grit_grd_file': 'ui_strings.grd',
            'grit_out_dir': '<(grit_base_out_dir)/ui_strings',
          },
          'includes': [ '../../build/grit_action.gypi' ],
        },
        {
          'action_name': 'app_locale_settings',
          'variables': {
            'grit_grd_file': 'app_locale_settings.grd',
            'grit_out_dir': '<(grit_base_out_dir)/app_locale_settings',
          },
          'includes': [ '../../build/grit_action.gypi' ],
        },
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '<(grit_base_out_dir)/app_locale_settings',
          '<(grit_base_out_dir)/ui_strings',
        ],
      },
    },
  ],
}