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_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_av_license"],
}

cc_test {
    name: "audiofoundation_parcelable_test",

    defaults: [
        "latest_android_media_audio_common_types_cpp_static",
    ],
    shared_libs: [
        "libbase",
        "libbinder",
        "liblog",
        "libutils",
    ],

    static_libs: [
        "audioclient-types-aidl-cpp",
        "libaudio_aidl_conversion_common_cpp",
        "libaudioclient_aidl_conversion",
        "libaudiofoundation",
        "libstagefright_foundation",
    ],

    header_libs: [
        "libaudio_system_headers",
    ],

    srcs: [
        "audiofoundation_parcelable_test.cpp",
    ],

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

    test_suites: ["device-tests"],
}

cc_test {
    name: "audiofoundation_containers_test",

    shared_libs: [
        "liblog",
    ],

    static_libs: [
        "libaudiofoundation",
    ],

    header_libs: [
        "libaudio_system_headers",
    ],

    srcs: [
        "audiofoundation_containers_test.cpp",
    ],

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

    test_suites: ["device-tests"],
}