Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: BUILD.gn

Issue 399173002: Mark hunspell as not chromium code in the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/hunspell/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698