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 |
11 group("fuzzers") { | 11 group("fuzzers") { |
12 } | 12 } |
13 | 13 |
14 fuzzer_test("pdfium_fuzzer") { | 14 fuzzer_test("pdfium_fuzzer") { |
15 sources = [ | 15 sources = [ |
16 "pdfium_fuzzer.cc", | 16 "pdfium_fuzzer.cc", |
17 ] | 17 ] |
18 deps = [ | 18 deps = [ |
19 "//third_party/pdfium", | 19 "//third_party/pdfium", |
20 "//third_party/pdfium:test_support", | 20 "//third_party/pdfium:test_support", |
21 "//v8", | 21 "//v8", |
22 "//v8:v8_libplatform", | 22 "//v8:v8_libplatform", |
23 ] | 23 ] |
24 additional_configs = [ | 24 additional_configs = [ |
25 "//third_party/pdfium:pdfium_config", | 25 "//third_party/pdfium:pdfium_core_config", |
26 "//v8:external_startup_data", | 26 "//v8:external_startup_data", |
27 ] | 27 ] |
28 dict = "dicts/pdf.dict" | 28 dict = "dicts/pdf.dict" |
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 ] |
(...skipping 16 matching lines...) Expand all Loading... |
52 dict = "dicts/pdf_xml.dict" | 52 dict = "dicts/pdf_xml.dict" |
53 } | 53 } |
54 | 54 |
55 fuzzer_test("pdf_codec_png_fuzzer") { | 55 fuzzer_test("pdf_codec_png_fuzzer") { |
56 sources = [] | 56 sources = [] |
57 deps = [ | 57 deps = [ |
58 "//third_party/pdfium/testing/libfuzzer:pdf_codec_png_fuzzer", | 58 "//third_party/pdfium/testing/libfuzzer:pdf_codec_png_fuzzer", |
59 ] | 59 ] |
60 } | 60 } |
61 } | 61 } |
OLD | NEW |