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 ] |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 "src/hunspell/replist.cxx", | 44 "src/hunspell/replist.cxx", |
45 "src/hunspell/replist.hxx", | 45 "src/hunspell/replist.hxx", |
46 "src/hunspell/suggestmgr.cxx", | 46 "src/hunspell/suggestmgr.cxx", |
47 "src/hunspell/suggestmgr.hxx", | 47 "src/hunspell/suggestmgr.hxx", |
48 "src/hunspell/utf_info.hxx", | 48 "src/hunspell/utf_info.hxx", |
49 "src/hunspell/w_char.hxx", | 49 "src/hunspell/w_char.hxx", |
50 "src/parsers/textparser.cxx", | 50 "src/parsers/textparser.cxx", |
51 "src/parsers/textparser.hxx", | 51 "src/parsers/textparser.hxx", |
52 ] | 52 ] |
53 | 53 |
| 54 configs -= [ "//build/config/compiler:chromium_code" ] |
| 55 configs += [ "//build/config/compiler:no_chromium_code" ] |
54 direct_dependent_configs = [ | 56 direct_dependent_configs = [ |
55 ":hunspell_config", | 57 ":hunspell_config", |
56 ] | 58 ] |
57 | 59 |
58 defines = [ | 60 defines = [ |
59 "OPENOFFICEORG", | 61 "OPENOFFICEORG", |
60 ] | 62 ] |
61 | 63 |
62 deps = [ | 64 deps = [ |
63 "//base", | 65 "//base", |
(...skipping 28 matching lines...) Expand all Loading... |
92 if (is_clang) { | 94 if (is_clang) { |
93 cflags += [ | 95 cflags += [ |
94 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop. | 96 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop. |
95 "-Wno-empty-body", | 97 "-Wno-empty-body", |
96 # affentry.hxx has NULL as default parameter for a FLAG in two | 98 # affentry.hxx has NULL as default parameter for a FLAG in two |
97 # places. | 99 # places. |
98 "-Wno-null-conversion", | 100 "-Wno-null-conversion", |
99 ] | 101 ] |
100 } | 102 } |
101 } | 103 } |
OLD | NEW |