xref: /aosp_15_r20/frameworks/av/media/libstagefright/httplive/fuzzer/Android.bp (revision ec779b8e0859a360c3d303172224686826e6e0e1)
1/*
2 * Copyright (C) 2021 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at:
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package {
18    // See: http://go/android-license-faq
19    // A large-scale-change added 'default_applicable_licenses' to import
20    // all of the 'license_kinds' from "frameworks_av_media_libstagefright_httplive_license"
21    // to get the below license kinds:
22    //   SPDX-license-identifier-Apache-2.0
23    default_applicable_licenses: [
24        "frameworks_av_media_libstagefright_httplive_license",
25    ],
26}
27
28cc_fuzz {
29    name: "httplive_fuzzer",
30    srcs: [
31        "httplive_fuzzer.cpp",
32    ],
33    static_libs: [
34        "libstagefright_httplive",
35        "libstagefright_id3",
36        "libstagefright_metadatautils",
37        "libstagefright_mpeg2support",
38        "liblog",
39        "libcutils",
40        "libdatasource",
41        "libmedia",
42        "libstagefright",
43    ],
44    header_libs: [
45        "libbase_headers",
46        "libstagefright_foundation_headers",
47        "libstagefright_headers",
48        "libstagefright_httplive_headers",
49    ],
50    shared_libs: [
51        "libbase",
52        "libcrypto",
53        "libstagefright_foundation",
54        "libhidlbase",
55        "libhidlmemory",
56        "libutils",
57        "[email protected]",
58    ],
59    corpus: ["corpus/*"],
60    dictionary: "httplive_fuzzer.dict",
61    fuzz_config: {
62        cc: [
63            "[email protected]",
64        ],
65        componentid: 155276,
66        hotlists: [
67            "4593311",
68        ],
69        description: "The fuzzer targets the APIs of libstagefright_httplive",
70        vector: "remote",
71        service_privilege: "privileged",
72        users: "multi_user",
73        fuzzed_code_usage: "shipped",
74    },
75}
76