blob: 62c9b462c2aae90fb35c5d2b8495a18c0d2bfc97 [file] [log] [blame]
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_defaults {
name: "libaaudio_tests_defaults",
cflags: [
"-Wall",
"-Werror",
],
}
cc_test {
name: "test_aaudio_marshalling",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_marshalling.cpp"],
shared_libs: [
"aaudio-aidl-cpp",
"libaaudio_internal",
"libbinder",
"libcutils",
"libutils",
"shared-file-region-aidl-cpp",
],
}
cc_test {
name: "test_clock_model",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_clock_model.cpp"],
shared_libs: [
"libaaudio_internal",
"libaudioutils",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_block_adapter",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_block_adapter.cpp"],
shared_libs: ["libaaudio_internal"],
}
cc_test {
name: "test_timestamps",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_timestamps.cpp"],
header_libs: ["libaaudio_example_utils"],
shared_libs: ["libaaudio"],
}
cc_test {
name: "test_open_params",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_open_params.cpp"],
shared_libs: [
"libaaudio",
"libbinder",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_no_close",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_no_close.cpp"],
shared_libs: [
"libaaudio",
"libbinder",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_aaudio_recovery",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_recovery.cpp"],
shared_libs: [
"libaaudio",
"libbinder",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_n_streams",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_n_streams.cpp"],
shared_libs: [
"libaaudio",
"libbinder",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_bad_disconnect",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_bad_disconnect.cpp"],
shared_libs: [
"libaaudio",
"libbinder",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_various",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_various.cpp"],
shared_libs: [
"libaaudio",
"libbinder",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_session_id",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_session_id.cpp"],
shared_libs: [
"libaaudio",
"libbinder",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_aaudio_monkey",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_aaudio_monkey.cpp"],
header_libs: ["libaaudio_example_utils"],
shared_libs: [
"libaaudio",
"libbinder",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_attributes",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_attributes.cpp"],
shared_libs: [
"libaaudio",
"libbinder",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_interference",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_interference.cpp"],
shared_libs: [
"libaaudio",
"libbinder",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_atomic_fifo",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_atomic_fifo.cpp"],
shared_libs: ["libaaudio_internal"],
}
cc_test {
name: "test_flowgraph",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_flowgraph.cpp"],
shared_libs: [
"libaaudio_internal",
"libbinder",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_return_stop",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_return_stop.cpp"],
shared_libs: [
"libaaudio",
"libbinder",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_stop_hang",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_stop_hang.cpp"],
shared_libs: [
"libaaudio",
"libbinder",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_full_queue",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_full_queue.cpp"],
shared_libs: ["libaaudio"],
}
cc_test {
name: "test_histogram",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_histogram.cpp"],
shared_libs: [
"libaudioutils",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_steal_exclusive",
defaults: ["libaaudio_tests_defaults"],
srcs: ["test_steal_exclusive.cpp"],
shared_libs: [
"libaaudio",
"liblog",
"libbinder",
"libcutils",
"libutils",
],
}