xref: /aosp_15_r20/system/media/audio_utils/fuzz/sndfile_fuzzer/Android.bp (revision b9df5ad1c9ac98a7fefaac271a55f7ae3db05414)
1package {
2    default_team: "trendy_team_android_media_audio_framework",
3    // http://go/android-license-faq
4    // A large-scale-change added 'default_applicable_licenses' to import
5    // the below license kinds from "system_media_license":
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["system_media_license"],
8}
9
10cc_fuzz {
11    name: "sndfile_fuzzer",
12    host_supported: true,
13    srcs: [
14        "sndfile_fuzzer.cpp",
15    ],
16    static_libs: [
17        "libaudioutils",
18        "libbase",
19        "libsndfile",
20    ],
21    target: {
22        android: {
23            cflags: ["-DSNDFILE_FUZZER_DEVICE"],
24        },
25        host: {
26            cflags: ["-DSNDFILE_FUZZER_HOST"],
27        },
28    },
29    corpus: ["corpus/*"],
30}
31