xref: /aosp_15_r20/external/libhevc/fuzzer/Android.bp (revision c83a76b084498d55f252f48b2e3786804cdf24b7)
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "external_libhevc_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["external_libhevc_license"],
8}
9
10cc_fuzz {
11    name: "hevc_dec_fuzzer",
12    host_supported: true,
13    srcs: [
14        "hevc_dec_fuzzer.cpp",
15    ],
16    static_libs: [
17        "libhevcdec",
18        "liblog",
19    ],
20    target: {
21        darwin: {
22            enabled: false,
23        },
24    },
25    fuzz_config: {
26        cc: [
27            "[email protected]",
28        ],
29        componentid: 155276,
30        hotlists: [
31            "4593311",
32            "2281331",
33        ],
34        description: "The fuzzer targets the APIs of libhevcdec",
35        vector: "remote",
36        service_privilege: "constrained",
37        users: "multi_user",
38        fuzzed_code_usage: "shipped",
39    },
40}
41
42cc_fuzz {
43    name: "hevc_enc_fuzzer",
44    host_supported: true,
45    srcs: [
46        "hevc_enc_fuzzer.cpp",
47    ],
48    static_libs: [
49        "libhevcenc",
50        "liblog",
51    ],
52    cflags: [
53        "-Wall",
54        "-Werror",
55    ],
56    fuzz_config: {
57        cc: [
58            "[email protected]",
59        ],
60        componentid: 155276,
61        hotlists: [
62            "4593311",
63            "2281331",
64        ],
65        description: "The fuzzer targets the APIs of libhevcenc",
66        vector: "local_no_privileges_required",
67        service_privilege: "constrained",
68        users: "multi_user",
69        fuzzed_code_usage: "shipped",
70    },
71}
72