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

cc_library_static {
    name: "libbroadcastring",

    cflags: [
        "-Wall",
        "-Wextra",
        "-Werror",
    ],
    export_include_dirs: ["include"],
    shared_libs: [
        "libbase",
    ],
    export_shared_lib_headers: [
        "libbase",
    ],
}

cc_test {
    name: "broadcast_ring_tests",
    clang: true,
    cflags: [
        "-Wall",
        "-Wextra",
        "-Werror",
    ],
    srcs: [
        "broadcast_ring_test.cc",
    ],
    static_libs: [
        "libbroadcastring",
    ],
    shared_libs: [
        "libbase",
    ],
}