OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 declare_args() { | 7 declare_args() { |
8 # Controls whether the build should uses the version of sqlite3 library | 8 # Controls whether the build should uses the version of sqlite3 library |
9 # shipped with the system (currently only supported on iOS) or the one | 9 # shipped with the system (currently only supported on iOS) or the one |
10 # shipped with Chromium source. | 10 # shipped with Chromium source. |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 sources = [ | 205 sources = [ |
206 "src/src/shell.c", | 206 "src/src/shell.c", |
207 "src/src/shell_icu_linux.c", | 207 "src/src/shell_icu_linux.c", |
208 | 208 |
209 # Include a dummy c++ file to force linking of libstdc++. | 209 # Include a dummy c++ file to force linking of libstdc++. |
210 "build_as_cpp.cc", | 210 "build_as_cpp.cc", |
211 ] | 211 ] |
212 | 212 |
213 deps = [ | 213 deps = [ |
214 ":sqlite", | 214 ":sqlite", |
215 "//build/config/sanitizers:deps", | 215 "//build/config:exe_and_shlib_deps", |
216 "//third_party/icu", | 216 "//third_party/icu", |
217 ] | 217 ] |
218 } | 218 } |
219 } | 219 } |
220 } | 220 } |
221 | 221 |
222 if (use_system_sqlite) { | 222 if (use_system_sqlite) { |
223 # iOS uses the version of sqlite3 shipped with the system instead of the | 223 # iOS uses the version of sqlite3 shipped with the system instead of the |
224 # version shipped with Chromium. Export a "sqlite" target so the change | 224 # version shipped with Chromium. Export a "sqlite" target so the change |
225 # can be localized to this file. | 225 # can be localized to this file. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 fuzzer_test("sqlite3_ossfuzz_fuzzer") { | 290 fuzzer_test("sqlite3_ossfuzz_fuzzer") { |
291 # TODO(mmoroz, shess): remove fuzz/ossfuzz.c after next sqlite3 update. | 291 # TODO(mmoroz, shess): remove fuzz/ossfuzz.c after next sqlite3 update. |
292 sources = [ | 292 sources = [ |
293 "fuzz/ossfuzz.c", | 293 "fuzz/ossfuzz.c", |
294 ] | 294 ] |
295 deps = [ | 295 deps = [ |
296 ":sqlite", | 296 ":sqlite", |
297 ] | 297 ] |
298 dict = "fuzz/sql.dict" | 298 dict = "fuzz/sql.dict" |
299 } | 299 } |
OLD | NEW |