OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 config("hunspell_config") { | 5 config("hunspell_config") { |
6 defines = [ | 6 defines = [ |
7 "HUNSPELL_STATIC", | 7 "HUNSPELL_STATIC", |
8 "HUNSPELL_CHROME_CLIENT", | 8 "HUNSPELL_CHROME_CLIENT", |
9 "USE_HUNSPELL", | 9 "USE_HUNSPELL", |
10 ] | 10 ] |
11 } | 11 } |
12 | 12 |
13 source_set("hunspell_new") { | 13 source_set("hunspell") { |
14 sources = [ | 14 sources = [ |
15 "google/bdict.cc", | 15 "google/bdict.cc", |
16 "google/bdict.h", | 16 "google/bdict.h", |
17 "google/bdict_reader.cc", | 17 "google/bdict_reader.cc", |
18 "google/bdict_reader.h", | 18 "google/bdict_reader.h", |
19 "google/bdict_writer.cc", | 19 "google/bdict_writer.cc", |
20 "google/bdict_writer.h", | 20 "google/bdict_writer.h", |
21 "src/hunspell/affentry.cxx", | 21 "src/hunspell/affentry.cxx", |
22 "src/hunspell/affentry.hxx", | 22 "src/hunspell/affentry.hxx", |
23 "src/hunspell/affixmgr.cxx", | 23 "src/hunspell/affixmgr.cxx", |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 cflags += [ | 91 cflags += [ |
92 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop. | 92 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop. |
93 "-Wno-empty-body", | 93 "-Wno-empty-body", |
94 | 94 |
95 # affentry.hxx has NULL as default parameter for a FLAG in two | 95 # affentry.hxx has NULL as default parameter for a FLAG in two |
96 # places. | 96 # places. |
97 "-Wno-null-conversion", | 97 "-Wno-null-conversion", |
98 ] | 98 ] |
99 } | 99 } |
100 } | 100 } |
OLD | NEW |