summaryrefslogtreecommitdiff
path: root/chromium/chrome/tools/convert_dict/convert_dict.gyp
blob: 973d8f51fca6277b64cc6854084cf11b3614b348 (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
41
42
43
44
45
# Copyright 2013 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,
  },
  'targets': [
    {
      'target_name': 'convert_dict_lib',
      'product_name': 'convert_dict',
      'type': 'static_library',
      'variables': { 'enable_wexit_time_destructors': 1, },
      'include_dirs': [
        '../../../',
      ],
      'dependencies': [
        '../../../base/base.gyp:base',
      ],
      'sources': [
        'aff_reader.cc',
        'aff_reader.h',
        'dic_reader.cc',
        'dic_reader.h',
        'hunspell_reader.cc',
        'hunspell_reader.h',
      ],
    },
    {
      'target_name': 'convert_dict',
      'type': 'executable',
      'variables': { 'enable_wexit_time_destructors': 1, },
      'dependencies': [
        '../../../base/base.gyp:base',
        '../../../base/base.gyp:base_i18n',
        '../../../third_party/hunspell/hunspell.gyp:hunspell',
        'convert_dict_lib',
      ],
      'sources': [
        'convert_dict.cc',
      ],
    },
  ],
}