OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 # PDFium fuzzers. | 5 # PDFium fuzzers. |
6 | 6 |
7 import("//third_party/pdfium/pdfium.gni") | 7 import("//third_party/pdfium/pdfium.gni") |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 import("//testing/libfuzzer/fuzzer_test.gni") | 9 import("//testing/libfuzzer/fuzzer_test.gni") |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 } | 29 } |
30 | 30 |
31 fuzzer_test("pdf_jpx_fuzzer") { | 31 fuzzer_test("pdf_jpx_fuzzer") { |
32 sources = [] | 32 sources = [] |
33 deps = [ | 33 deps = [ |
34 "//third_party/pdfium/testing/libfuzzer:pdf_jpx_fuzzer", | 34 "//third_party/pdfium/testing/libfuzzer:pdf_jpx_fuzzer", |
35 ] | 35 ] |
36 } | 36 } |
37 | 37 |
38 if (pdf_enable_xfa) { | 38 if (pdf_enable_xfa) { |
39 fuzzer_test("pdf_fm2js_fuzzer") { | 39 fuzzer_test("pdf_codec_bmp_fuzzer") { |
40 sources = [] | 40 sources = [] |
41 deps = [ | 41 deps = [ |
42 "//third_party/pdfium/testing/libfuzzer:pdf_fm2js_fuzzer", | 42 "//third_party/pdfium/testing/libfuzzer:pdf_codec_bmp_fuzzer", |
43 ] | 43 ] |
44 dict = "dicts/pdf_fm2js.dict" | |
45 } | 44 } |
46 | 45 |
47 fuzzer_test("pdf_xml_fuzzer") { | 46 fuzzer_test("pdf_codec_gif_fuzzer") { |
48 sources = [] | 47 sources = [] |
49 deps = [ | 48 deps = [ |
50 "//third_party/pdfium/testing/libfuzzer:pdf_xml_fuzzer", | 49 "//third_party/pdfium/testing/libfuzzer:pdf_codec_gif_fuzzer", |
51 ] | 50 ] |
52 dict = "dicts/pdf_xml.dict" | 51 } |
| 52 |
| 53 fuzzer_test("pdf_codec_jpeg_fuzzer") { |
| 54 sources = [] |
| 55 deps = [ |
| 56 "//third_party/pdfium/testing/libfuzzer:pdf_codec_jpeg_fuzzer", |
| 57 ] |
53 } | 58 } |
54 | 59 |
55 fuzzer_test("pdf_codec_png_fuzzer") { | 60 fuzzer_test("pdf_codec_png_fuzzer") { |
56 sources = [] | 61 sources = [] |
57 deps = [ | 62 deps = [ |
58 "//third_party/pdfium/testing/libfuzzer:pdf_codec_png_fuzzer", | 63 "//third_party/pdfium/testing/libfuzzer:pdf_codec_png_fuzzer", |
59 ] | 64 ] |
60 } | 65 } |
| 66 |
| 67 fuzzer_test("pdf_codec_tiff_fuzzer") { |
| 68 sources = [] |
| 69 deps = [ |
| 70 "//third_party/pdfium/testing/libfuzzer:pdf_codec_tiff_fuzzer", |
| 71 ] |
| 72 } |
| 73 |
| 74 fuzzer_test("pdf_fm2js_fuzzer") { |
| 75 sources = [] |
| 76 deps = [ |
| 77 "//third_party/pdfium/testing/libfuzzer:pdf_fm2js_fuzzer", |
| 78 ] |
| 79 dict = "dicts/pdf_fm2js.dict" |
| 80 } |
| 81 |
| 82 fuzzer_test("pdf_xml_fuzzer") { |
| 83 sources = [] |
| 84 deps = [ |
| 85 "//third_party/pdfium/testing/libfuzzer:pdf_xml_fuzzer", |
| 86 ] |
| 87 dict = "dicts/pdf_xml.dict" |
| 88 } |
61 } | 89 } |
OLD | NEW |