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

Side by Side Diff: third_party/hunspell/BUILD.gn

Issue 2152033002: Convert third_party source sets to static libraries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ios Created 4 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
« no previous file with comments | « third_party/fips181/BUILD.gn ('k') | third_party/iccjpeg/BUILD.gn » ('j') | 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 import("//testing/libfuzzer/fuzzer_test.gni") 5 import("//testing/libfuzzer/fuzzer_test.gni")
6 6
7 config("hunspell_config") { 7 config("hunspell_config") {
8 defines = [ 8 defines = [
9 "HUNSPELL_STATIC", 9 "HUNSPELL_STATIC",
10 "HUNSPELL_CHROME_CLIENT", 10 "HUNSPELL_CHROME_CLIENT",
11 "USE_HUNSPELL", 11 "USE_HUNSPELL",
12 ] 12 ]
13 } 13 }
14 14
15 config("hunspell_warnings") { 15 config("hunspell_warnings") {
16 if (is_clang) { 16 if (is_clang) {
17 cflags = [ "-Wno-unused-private-field" ] 17 cflags = [ "-Wno-unused-private-field" ]
18 } 18 }
19 } 19 }
20 20
21 source_set("hunspell") { 21 static_library("hunspell") {
22 sources = [ 22 sources = [
23 "google/bdict.cc", 23 "google/bdict.cc",
24 "google/bdict.h", 24 "google/bdict.h",
25 "google/bdict_reader.cc", 25 "google/bdict_reader.cc",
26 "google/bdict_reader.h", 26 "google/bdict_reader.h",
27 "google/bdict_writer.cc", 27 "google/bdict_writer.cc",
28 "google/bdict_writer.h", 28 "google/bdict_writer.h",
29 "src/hunspell/affentry.cxx", 29 "src/hunspell/affentry.cxx",
30 "src/hunspell/affentry.hxx", 30 "src/hunspell/affentry.hxx",
31 "src/hunspell/affixmgr.cxx", 31 "src/hunspell/affixmgr.cxx",
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 "fuzz/hunspell_fuzzer.cc", 117 "fuzz/hunspell_fuzzer.cc",
118 "fuzz/hunspell_fuzzer_hunspell_dictionary.h", 118 "fuzz/hunspell_fuzzer_hunspell_dictionary.h",
119 ] 119 ]
120 deps = [ 120 deps = [
121 ":hunspell", 121 ":hunspell",
122 ] 122 ]
123 123
124 # This is a dictionary for the fuzzer, not a spellcheck dictionary. 124 # This is a dictionary for the fuzzer, not a spellcheck dictionary.
125 dict = "fuzz/hunspell.dict" 125 dict = "fuzz/hunspell.dict"
126 } 126 }
OLDNEW
« no previous file with comments | « third_party/fips181/BUILD.gn ('k') | third_party/iccjpeg/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698