summaryrefslogtreecommitdiff
path: root/libs/gralloc/types/fuzzer/Android.bp
blob: 84448839a163b980e211a64c83c6823ffc0fa598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
cc_fuzz {
    name: "libgralloctypes_fuzzer",
    defaults: ["libbinder_ndk_host_user"],
    host_supported: true,

    fuzz_config: {
        cc: ["marissaw@google.com"],
    },

    srcs: [
        "gralloctypes.cpp",
        "main.cpp",
        "util.cpp",
    ],
    static_libs: [
        "libbase",
        "libcgrouprc",
        "libcgrouprc_format",
        "libcutils",
        "libgralloctypes",
        "libhidlbase",
        "liblog",
        "libprocessgroup",
        "libjsoncpp",
        "libutils",
    ],

    // This flag enables verbose output in the fuzz target, and is very useful
    // for debugging a failure. If you are trying to diagnose how a crash was
    // produced, you may find uncommenting the below line very useful.
    // cflags: ["-DENABLE_LOG_FUZZ"],
}