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': [ | |
7 '../../build/common.gypi', | |
8 ], | |
9 'targets': [ | 6 'targets': [ |
10 { | 7 { |
11 'target_name': 'hunspell', | 8 'target_name': 'hunspell', |
12 'type': '<(library)', | 9 'type': '<(library)', |
13 'msvs_guid': 'D5E8DCB2-9C61-446F-8BEE-B18CA0E0936E', | 10 'msvs_guid': 'D5E8DCB2-9C61-446F-8BEE-B18CA0E0936E', |
14 'dependencies': [ | 11 'dependencies': [ |
15 '../../base/base.gyp:base', | 12 '../../base/base.gyp:base', |
16 '../icu/icu.gyp:icuuc', | 13 '../icu/icu.gyp:icuuc', |
17 ], | 14 ], |
18 'defines': [ | 15 'defines': [ |
| 16 'HUNSPELL_STATIC', |
19 'HUNSPELL_CHROME_CLIENT', | 17 'HUNSPELL_CHROME_CLIENT', |
20 'OPENOFFICEORG', | 18 'OPENOFFICEORG', |
21 ], | 19 ], |
22 'sources': [ | 20 'sources': [ |
23 'google/bdict.h', | 21 'google/bdict.h', |
24 'google/bdict_reader.cc', | 22 'google/bdict_reader.cc', |
25 'google/bdict_reader.h', | 23 'google/bdict_reader.h', |
26 'google/bdict_writer.cc', | 24 'google/bdict_writer.cc', |
27 'google/bdict_writer.h', | 25 'google/bdict_writer.h', |
28 'src/hunspell/affentry.cxx', | 26 'src/hunspell/affentry.cxx', |
29 'src/hunspell/affentry.hxx', | 27 'src/hunspell/affentry.hxx', |
30 'src/hunspell/affixmgr.cxx', | 28 'src/hunspell/affixmgr.cxx', |
31 'src/hunspell/affixmgr.hxx', | 29 'src/hunspell/affixmgr.hxx', |
32 'src/hunspell/atypes.hxx', | 30 'src/hunspell/atypes.hxx', |
33 'src/hunspell/baseaffix.hxx', | 31 'src/hunspell/baseaffix.hxx', |
34 'src/hunspell/csutil.cxx', | 32 'src/hunspell/csutil.cxx', |
35 'src/hunspell/csutil.hxx', | 33 'src/hunspell/csutil.hxx', |
36 'src/hunspell/dictmgr.cxx', | 34 'src/hunspell/dictmgr.cxx', |
37 'src/hunspell/dictmgr.hxx', | 35 'src/hunspell/dictmgr.hxx', |
| 36 'src/hunspell/filemgr.cxx', |
| 37 'src/hunspell/filemgr.hxx', |
38 'src/hunspell/hashmgr.cxx', | 38 'src/hunspell/hashmgr.cxx', |
39 'src/hunspell/hashmgr.hxx', | 39 'src/hunspell/hashmgr.hxx', |
40 'src/hunspell/htypes.hxx', | 40 'src/hunspell/htypes.hxx', |
41 'src/hunspell/hunspell.cxx', | 41 'src/hunspell/hunspell.cxx', |
42 'src/hunspell/hunspell.h', | 42 'src/hunspell/hunspell.h', |
43 'src/hunspell/hunspell.hxx', | 43 'src/hunspell/hunspell.hxx', |
| 44 'src/hunspell/hunzip.cxx', |
| 45 'src/hunspell/hunzip.hxx', |
44 'src/hunspell/langnum.hxx', | 46 'src/hunspell/langnum.hxx', |
| 47 'src/hunspell/phonet.cxx', |
| 48 'src/hunspell/phonet.hxx', |
| 49 'src/hunspell/replist.cxx', |
| 50 'src/hunspell/replist.hxx', |
45 'src/hunspell/suggestmgr.cxx', | 51 'src/hunspell/suggestmgr.cxx', |
46 'src/hunspell/suggestmgr.hxx', | 52 'src/hunspell/suggestmgr.hxx', |
47 'src/hunspell/utf_info.hxx', | 53 'src/hunspell/utf_info.hxx', |
| 54 'src/hunspell/w_char.hxx', |
48 'src/parsers/textparser.cxx', | 55 'src/parsers/textparser.cxx', |
49 'src/parsers/textparser.hxx', | 56 'src/parsers/textparser.hxx', |
50 ], | 57 ], |
51 'direct_dependent_settings': { | 58 'direct_dependent_settings': { |
52 'defines': [ | 59 'defines': [ |
| 60 'HUNSPELL_STATIC', |
53 'HUNSPELL_CHROME_CLIENT', | 61 'HUNSPELL_CHROME_CLIENT', |
54 'USE_HUNSPELL', | 62 'USE_HUNSPELL', |
55 ], | 63 ], |
56 }, | 64 }, |
57 'conditions': [ | 65 'conditions': [ |
58 ['OS=="linux"', { | 66 ['OS=="linux"', { |
59 'cflags': [ | 67 'cflags': [ |
60 '-Wno-unused-value', | 68 '-Wno-unused-value', |
61 '-Wno-unused-variable', | 69 '-Wno-unused-variable', |
62 '-Wno-write-strings', | 70 '-Wno-write-strings', |
63 ], | 71 ], |
64 }], | 72 }], |
65 ], | 73 ], |
66 }, | 74 }, |
67 ], | 75 ], |
68 } | 76 } |
OLD | NEW |