xref: /aosp_15_r20/frameworks/native/libs/gralloc/types/fuzzer/Android.bp (revision 38e8c45f13ce32b0dcecb25141ffecaf386fa17f)
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 "frameworks_native_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_native_license"],
8    default_team: "trendy_team_android_core_graphics_stack",
9}
10
11cc_fuzz {
12    name: "libgralloctypes_fuzzer",
13    host_supported: true,
14    target: {
15        darwin: {
16            enabled: false,
17        },
18    },
19
20    fuzz_config: {
21        cc: ["[email protected]"],
22    },
23
24    srcs: [
25        "gralloctypes.cpp",
26        "main.cpp",
27        "util.cpp",
28    ],
29    static_libs: [
30        "libbase",
31        "libcutils",
32        "libgralloctypes",
33        "libhidlbase",
34        "liblog",
35        "libutils",
36    ],
37
38    // This flag enables verbose output in the fuzz target, and is very useful
39    // for debugging a failure. If you are trying to diagnose how a crash was
40    // produced, you may find uncommenting the below line very useful.
41    // cflags: ["-DENABLE_LOG_FUZZ"],
42}
43