xref: /aosp_15_r20/frameworks/av/media/module/codecs/amrnb/fuzzer/Android.bp (revision ec779b8e0859a360c3d303172224686826e6e0e1)
1/******************************************************************************
2 *
3 * Copyright (C) 2020 The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at:
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *****************************************************************************
18 * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
19 */
20
21package {
22    default_team: "trendy_team_media_codec_framework",
23    // See: http://go/android-license-faq
24    // A large-scale-change added 'default_applicable_licenses' to import
25    // all of the 'license_kinds' from "frameworks_av_license"
26    // to get the below license kinds:
27    //   SPDX-license-identifier-Apache-2.0
28    default_applicable_licenses: ["frameworks_av_license"],
29}
30
31cc_fuzz {
32    name: "amrnb_dec_fuzzer",
33    host_supported: true,
34    srcs: [
35        "amrnb_dec_fuzzer.cpp",
36    ],
37    static_libs: [
38        "liblog",
39        "libstagefright_amrnb_common",
40        "libstagefright_amrnbdec",
41    ],
42    target: {
43        darwin: {
44            enabled: false,
45        },
46    },
47    fuzz_config: {
48        cc: [
49            "[email protected]",
50        ],
51        componentid: 155276,
52        hotlists: [
53            "4593311",
54        ],
55        description: "The fuzzer targets the APIs of libstagefright_amrnbdec library",
56        vector: "remote",
57        service_privilege: "constrained",
58        users: "multi_user",
59        fuzzed_code_usage: "shipped",
60    },
61}
62