You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.6 KiB

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: "libaudioclient_tests_defaults",
cflags: [
"-Wall",
"-Werror",
],
}
cc_test {
name: "audio_aidl_status_tests",
defaults: ["libaudioclient_tests_defaults"],
srcs: ["audio_aidl_status_tests.cpp"],
shared_libs: [
"libaudioclient_aidl_conversion",
"libbinder",
"libcutils",
"libutils",
],
}
cc_test {
name: "test_create_audiotrack",
defaults: ["libaudioclient_tests_defaults"],
srcs: ["test_create_audiotrack.cpp",
"test_create_utils.cpp"],
header_libs: [
"libmedia_headers",
"libmediametrics_headers",
],
shared_libs: [
"framework-permission-aidl-cpp",
"libaudioclient",
"libbinder",
"libcutils",
"libutils",
],
data: ["track_test_input_*.txt"],
}
cc_test {
name: "test_create_audiorecord",
defaults: ["libaudioclient_tests_defaults"],
srcs: ["test_create_audiorecord.cpp",
"test_create_utils.cpp"],
header_libs: [
"libmedia_headers",
"libmediametrics_headers",
],
shared_libs: [
"libaudioclient",
"libbinder",
"libcutils",
"libutils",
"framework-permission-aidl-cpp",
],
data: ["record_test_input_*.txt"],
}