1// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS.  PLEASE
2//     CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
3//     DEPENDING ON IT IN YOUR PROJECT. ***
4package {
5    // See: http://go/android-license-faq
6    // A large-scale-change added 'default_applicable_licenses' to import
7    // all of the 'license_kinds' from "external_dng_sdk_license"
8    // to get the below license kinds:
9    //   SPDX-license-identifier-MIT
10    //   legacy_by_exception_only (by exception only)
11    default_applicable_licenses: ["external_dng_sdk_license"],
12}
13
14cc_fuzz {
15    name: "dng_parser_fuzzer",
16    host_supported: true,
17    srcs: [
18        "dng_parser_fuzzer.cpp",
19    ],
20    cflags: [
21        "-Wno-unused-parameter",
22        "-fexceptions",
23    ],
24    static_libs: [
25        "libdng_sdk",
26        "libjpeg",
27        "liblog",
28        "libz",
29    ],
30    target: {
31        darwin: {
32            enabled: false,
33        },
34    },
35    corpus: [
36        "seeds/CVE_2020_9589/original.dng",
37        "seeds/CVE_2020_9589/poc.dng",
38    ],
39}
40