| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # Individual libfuzzer tests that didn't find their home yet. | 5 # Individual libfuzzer tests that didn't find their home yet. |
| 6 | 6 |
| 7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
| 8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
| 9 import("//testing/libfuzzer/fuzzer_test.gni") | 9 import("//testing/libfuzzer/fuzzer_test.gni") |
| 10 import("//third_party/pdfium/pdfium.gni") | |
| 11 | 10 |
| 12 # root BUILD depenends on this target. Needed for package discovery | 11 # root BUILD depenends on this target. Needed for package discovery |
| 13 group("fuzzers") { | 12 group("fuzzers") { |
| 14 } | 13 } |
| 15 | 14 |
| 16 fuzzer_test("empty_fuzzer") { | 15 fuzzer_test("empty_fuzzer") { |
| 17 sources = [ | 16 sources = [ |
| 18 "empty_fuzzer.cc", | 17 "empty_fuzzer.cc", |
| 19 ] | 18 ] |
| 20 additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] | 19 additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 | 163 |
| 165 fuzzer_test("zlib_uncompress_fuzzer") { | 164 fuzzer_test("zlib_uncompress_fuzzer") { |
| 166 sources = [ | 165 sources = [ |
| 167 "zlib_uncompress_fuzzer.cc", | 166 "zlib_uncompress_fuzzer.cc", |
| 168 ] | 167 ] |
| 169 deps = [ | 168 deps = [ |
| 170 "//third_party/zlib", | 169 "//third_party/zlib", |
| 171 ] | 170 ] |
| 172 } | 171 } |
| 173 | 172 |
| 174 fuzzer_test("pdfium_fuzzer") { | |
| 175 sources = [ | |
| 176 "pdfium_fuzzer.cc", | |
| 177 ] | |
| 178 deps = [ | |
| 179 "//third_party/pdfium", | |
| 180 "//third_party/pdfium:test_support", | |
| 181 "//v8", | |
| 182 "//v8:v8_libplatform", | |
| 183 ] | |
| 184 additional_configs = [ | |
| 185 "//third_party/pdfium:pdfium_config", | |
| 186 "//v8:external_startup_data", | |
| 187 ] | |
| 188 dict = "dicts/pdf.dict" | |
| 189 } | |
| 190 | |
| 191 if (pdf_enable_xfa) { | |
| 192 fuzzer_test("pdf_fm2js_fuzzer") { | |
| 193 sources = [] | |
| 194 deps = [ | |
| 195 "//third_party/pdfium/testing/libfuzzer:pdf_fm2js_fuzzer", | |
| 196 ] | |
| 197 dict = "dicts/pdf_fm2js.dict" | |
| 198 } | |
| 199 | |
| 200 fuzzer_test("pdf_xml_fuzzer") { | |
| 201 sources = [] | |
| 202 deps = [ | |
| 203 "//third_party/pdfium/testing/libfuzzer:pdf_xml_fuzzer", | |
| 204 ] | |
| 205 dict = "dicts/pdf_xml.dict" | |
| 206 } | |
| 207 } | |
| 208 | |
| 209 fuzzer_test("sqlite3_prepare_v2_fuzzer") { | 173 fuzzer_test("sqlite3_prepare_v2_fuzzer") { |
| 210 sources = [ | 174 sources = [ |
| 211 "sqlite3_prepare_v2_fuzzer.cc", | 175 "sqlite3_prepare_v2_fuzzer.cc", |
| 212 ] | 176 ] |
| 213 deps = [ | 177 deps = [ |
| 214 "//third_party/sqlite", | 178 "//third_party/sqlite", |
| 215 ] | 179 ] |
| 216 dict = "dicts/sql.dict" | 180 dict = "dicts/sql.dict" |
| 217 } | 181 } |
| 218 | 182 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 fuzzer_test("libxml_xml_regexp_compile_fuzzer") { | 275 fuzzer_test("libxml_xml_regexp_compile_fuzzer") { |
| 312 sources = [ | 276 sources = [ |
| 313 "libxml_xml_regexp_compile_fuzzer.cc", | 277 "libxml_xml_regexp_compile_fuzzer.cc", |
| 314 ] | 278 ] |
| 315 deps = [ | 279 deps = [ |
| 316 "//third_party/libxml", | 280 "//third_party/libxml", |
| 317 ] | 281 ] |
| 318 libfuzzer_options = "libxml_xml_regexp_compile_fuzzer.options" | 282 libfuzzer_options = "libxml_xml_regexp_compile_fuzzer.options" |
| 319 additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] | 283 additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] |
| 320 } | 284 } |
| OLD | NEW |