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

Side by Side Diff: BUILD.gn

Issue 345253002: Fix for Android GN build. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/hunspell
Patch Set: Created 6 years, 6 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 } 74 }
75 75
76 if (is_posix && !is_mac) { 76 if (is_posix && !is_mac) {
77 cflags += [ 77 cflags += [
78 "-Wno-unused-value", 78 "-Wno-unused-value",
79 "-Wno-unused-variable", 79 "-Wno-unused-variable",
80 "-Wno-write-strings", 80 "-Wno-write-strings",
81 ] 81 ]
82 } 82 }
83 83
84 if (is_linux) { 84 if (is_posix && !is_mac && !is_ios) {
85 cflags += [ 85 cflags += [
86 # affentry.hxx has NULL as default parameter for a FLAG in two 86 # affentry.hxx has NULL as default parameter for a FLAG in two
87 # places. 87 # places.
88 "-Wno-conversion-null", 88 "-Wno-conversion-null",
89 ] 89 ]
90 } 90 }
91 91
92 if (is_clang) { 92 if (is_clang) {
93 cflags += [ 93 cflags += [
94 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop. 94 # affentry.cxx has one `while ((p = nextchar(p)));` parsing loop.
95 "-Wno-empty-body", 95 "-Wno-empty-body",
96 # affentry.hxx has NULL as default parameter for a FLAG in two 96 # affentry.hxx has NULL as default parameter for a FLAG in two
97 # places. 97 # places.
98 "-Wno-null-conversion", 98 "-Wno-null-conversion",
99 ] 99 ]
100 } 100 }
101 } 101 }
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