| 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") |
| 10 | 11 |
| 11 # root BUILD depenends on this target. Needed for package discovery | 12 # root BUILD depenends on this target. Needed for package discovery |
| 12 group("fuzzers") { | 13 group("fuzzers") { |
| 13 } | 14 } |
| 14 | 15 |
| 15 fuzzer_test("empty_fuzzer") { | 16 fuzzer_test("empty_fuzzer") { |
| 16 sources = [ | 17 sources = [ |
| 17 "empty_fuzzer.cc", | 18 "empty_fuzzer.cc", |
| 18 ] | 19 ] |
| 19 additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] | 20 additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 "//v8", | 220 "//v8", |
| 220 "//v8:v8_libplatform", | 221 "//v8:v8_libplatform", |
| 221 ] | 222 ] |
| 222 additional_configs = [ | 223 additional_configs = [ |
| 223 "//third_party/pdfium:pdfium_config", | 224 "//third_party/pdfium:pdfium_config", |
| 224 "//v8:external_startup_data", | 225 "//v8:external_startup_data", |
| 225 ] | 226 ] |
| 226 dict = "dicts/pdf.dict" | 227 dict = "dicts/pdf.dict" |
| 227 } | 228 } |
| 228 | 229 |
| 230 if (pdf_enable_xfa) { |
| 231 fuzzer_test("pdf_fm2js_fuzzer") { |
| 232 sources = [] |
| 233 deps = [ |
| 234 "//third_party/pdfium/testing/libfuzzer:pdf_fm2js_fuzzer", |
| 235 ] |
| 236 dict = "dicts/pdf_fm2js.dict" |
| 237 } |
| 238 |
| 239 fuzzer_test("pdf_xml_fuzzer") { |
| 240 sources = [] |
| 241 deps = [ |
| 242 "//third_party/pdfium/testing/libfuzzer:pdf_xml_fuzzer", |
| 243 ] |
| 244 dict = "dicts/pdf_xml.dict" |
| 245 } |
| 246 } |
| 247 |
| 229 fuzzer_test("websocket_frame_parser_fuzzer") { | 248 fuzzer_test("websocket_frame_parser_fuzzer") { |
| 230 sources = [ | 249 sources = [ |
| 231 "websocket_frame_parser_fuzzer.cc", | 250 "websocket_frame_parser_fuzzer.cc", |
| 232 ] | 251 ] |
| 233 deps = [ | 252 deps = [ |
| 234 "//net", | 253 "//net", |
| 235 ] | 254 ] |
| 236 } | 255 } |
| 237 | 256 |
| 238 fuzzer_test("http_chunked_decoder_fuzzer") { | 257 fuzzer_test("http_chunked_decoder_fuzzer") { |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 ] | 348 ] |
| 330 } | 349 } |
| 331 | 350 |
| 332 fuzzer_test("v8_regexp_parser_fuzzer") { | 351 fuzzer_test("v8_regexp_parser_fuzzer") { |
| 333 sources = [] | 352 sources = [] |
| 334 deps = [ | 353 deps = [ |
| 335 "//v8:regexp_fuzzer", | 354 "//v8:regexp_fuzzer", |
| 336 ] | 355 ] |
| 337 dict = "dicts/regexp.dict" | 356 dict = "dicts/regexp.dict" |
| 338 } | 357 } |
| OLD | NEW |