package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_av_media_libstagefright_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_av_media_libstagefright_license"],
}

cc_library_shared {
    name: "libstagefright_http_support",

    srcs: ["HTTPHelper.cpp"],

    header_libs: [
        "libstagefright_headers",
    ],

    shared_libs: [
        "liblog",
        "libutils",
        "libandroid_runtime",
        "libmedia",
    ],

    export_include_dirs: ["."],

    cflags: [
        "-Wno-multichar",
        "-Werror",
        "-Wall",
    ],

    sanitize: {
        misc_undefined: [
            "signed-integer-overflow",
        ],
        cfi: true,
    },
}
