OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 '../../../build/common.gypi', | 7 '../../../build/common.gypi', |
8 ], | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'hunspell', | 11 'target_name': 'hunspell', |
12 'type': '<(library)', | 12 'type': '<(library)', |
13 'msvs_guid': 'D5E8DCB2-9C61-446F-8BEE-B18CA0E0936E', | 13 'msvs_guid': 'D5E8DCB2-9C61-446F-8BEE-B18CA0E0936E', |
14 'dependencies': [ | 14 'dependencies': [ |
15 '../../../base/base.gyp:base', | 15 '../../../base/base.gyp:base', |
16 '../../../third_party/icu38/icu38.gyp:icuuc', | 16 '../../../third_party/icu38/icu38.gyp:icuuc', |
17 ], | 17 ], |
18 'defines': [ | 18 'defines': [ |
| 19 'HUNSPELL_STATIC', |
19 'HUNSPELL_CHROME_CLIENT', | 20 'HUNSPELL_CHROME_CLIENT', |
20 'OPENOFFICEORG', | 21 'OPENOFFICEORG', |
21 ], | 22 ], |
22 'sources': [ | 23 'sources': [ |
23 'google/bdict.h', | 24 'google/bdict.h', |
24 'google/bdict_reader.cc', | 25 'google/bdict_reader.cc', |
25 'google/bdict_reader.h', | 26 'google/bdict_reader.h', |
26 'google/bdict_writer.cc', | 27 'google/bdict_writer.cc', |
27 'google/bdict_writer.h', | 28 'google/bdict_writer.h', |
28 'src/hunspell/affentry.cxx', | 29 'src/hunspell/affentry.cxx', |
29 'src/hunspell/affentry.hxx', | 30 'src/hunspell/affentry.hxx', |
30 'src/hunspell/affixmgr.cxx', | 31 'src/hunspell/affixmgr.cxx', |
31 'src/hunspell/affixmgr.hxx', | 32 'src/hunspell/affixmgr.hxx', |
32 'src/hunspell/atypes.hxx', | 33 'src/hunspell/atypes.hxx', |
33 'src/hunspell/baseaffix.hxx', | 34 'src/hunspell/baseaffix.hxx', |
34 'src/hunspell/csutil.cxx', | 35 'src/hunspell/csutil.cxx', |
35 'src/hunspell/csutil.hxx', | 36 'src/hunspell/csutil.hxx', |
36 'src/hunspell/dictmgr.cxx', | 37 'src/hunspell/dictmgr.cxx', |
37 'src/hunspell/dictmgr.hxx', | 38 'src/hunspell/dictmgr.hxx', |
| 39 'src/hunspell/filemgr.cxx', |
| 40 'src/hunspell/filemgr.hxx', |
38 'src/hunspell/hashmgr.cxx', | 41 'src/hunspell/hashmgr.cxx', |
39 'src/hunspell/hashmgr.hxx', | 42 'src/hunspell/hashmgr.hxx', |
40 'src/hunspell/htypes.hxx', | 43 'src/hunspell/htypes.hxx', |
41 'src/hunspell/hunspell.cxx', | 44 'src/hunspell/hunspell.cxx', |
42 'src/hunspell/hunspell.h', | 45 'src/hunspell/hunspell.h', |
43 'src/hunspell/hunspell.hxx', | 46 'src/hunspell/hunspell.hxx', |
| 47 'src/hunspell/hunzip.cxx', |
| 48 'src/hunspell/hunzip.hxx', |
44 'src/hunspell/langnum.hxx', | 49 'src/hunspell/langnum.hxx', |
| 50 'src/hunspell/phonet.cxx', |
| 51 'src/hunspell/phonet.hxx', |
| 52 'src/hunspell/replist.cxx', |
| 53 'src/hunspell/replist.hxx', |
45 'src/hunspell/suggestmgr.cxx', | 54 'src/hunspell/suggestmgr.cxx', |
46 'src/hunspell/suggestmgr.hxx', | 55 'src/hunspell/suggestmgr.hxx', |
47 'src/hunspell/utf_info.hxx', | 56 'src/hunspell/utf_info.hxx', |
| 57 'src/hunspell/w_char.hxx', |
48 'src/parsers/textparser.cxx', | 58 'src/parsers/textparser.cxx', |
49 'src/parsers/textparser.hxx', | 59 'src/parsers/textparser.hxx', |
50 ], | 60 ], |
51 'direct_dependent_settings': { | 61 'direct_dependent_settings': { |
52 'defines': [ | 62 'defines': [ |
| 63 'HUNSPELL_STATIC', |
53 'HUNSPELL_CHROME_CLIENT', | 64 'HUNSPELL_CHROME_CLIENT', |
54 'USE_HUNSPELL', | 65 'USE_HUNSPELL', |
55 ], | 66 ], |
56 }, | 67 }, |
57 'conditions': [ | 68 'conditions': [ |
58 ['OS=="linux"', { | 69 ['OS=="linux"', { |
59 'cflags': [ | 70 'cflags': [ |
60 '-Wno-unused-value', | 71 '-Wno-unused-value', |
61 '-Wno-unused-variable', | 72 '-Wno-unused-variable', |
62 '-Wno-write-strings', | 73 '-Wno-write-strings', |
63 ], | 74 ], |
64 }], | 75 }], |
65 ], | 76 ], |
66 }, | 77 }, |
67 ], | 78 ], |
68 } | 79 } |
OLD | NEW |