blob: 3c1da4d4ef838f69663e98c162df670a2047a740 [file] [log] [blame]
Bob Badour56786ac2021-02-25 15:24:36 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_av_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_av_license"],
8}
9
Eric Laurent4473d782017-11-28 11:53:36 -080010cc_defaults {
11 name: "libaudioclient_tests_defaults",
12 cflags: [
13 "-Wall",
14 "-Werror",
15 ],
16}
17
18cc_test {
Andy Hung1131b6e2020-12-08 20:47:45 -080019 name: "audio_aidl_status_tests",
20 defaults: ["libaudioclient_tests_defaults"],
21 srcs: ["audio_aidl_status_tests.cpp"],
22 shared_libs: [
23 "libaudioclient_aidl_conversion",
24 "libbinder",
25 "libcutils",
26 "libutils",
27 ],
28}
29
30cc_test {
Eric Laurent4473d782017-11-28 11:53:36 -080031 name: "test_create_audiotrack",
32 defaults: ["libaudioclient_tests_defaults"],
Eric Laurent0a7885e2017-12-06 16:48:41 -080033 srcs: ["test_create_audiotrack.cpp",
34 "test_create_utils.cpp"],
Marco Nelissen6b285942019-10-21 14:52:30 -070035 header_libs: [
36 "libmedia_headers",
Marco Nelissen7c96ea72020-01-10 15:46:22 -080037 "libmediametrics_headers",
Marco Nelissen6b285942019-10-21 14:52:30 -070038 ],
Eric Laurent4473d782017-11-28 11:53:36 -080039 shared_libs: [
40 "libaudioclient",
Eric Laurent0a7885e2017-12-06 16:48:41 -080041 "libbinder",
Eric Laurent4473d782017-11-28 11:53:36 -080042 "libcutils",
43 "libutils",
Eric Laurent4473d782017-11-28 11:53:36 -080044 ],
45 data: ["track_test_input_*.txt"],
46}
Eric Laurent0a7885e2017-12-06 16:48:41 -080047
48cc_test {
49 name: "test_create_audiorecord",
50 defaults: ["libaudioclient_tests_defaults"],
51 srcs: ["test_create_audiorecord.cpp",
52 "test_create_utils.cpp"],
Marco Nelissen6b285942019-10-21 14:52:30 -070053 header_libs: [
54 "libmedia_headers",
Marco Nelissen7c96ea72020-01-10 15:46:22 -080055 "libmediametrics_headers",
Marco Nelissen6b285942019-10-21 14:52:30 -070056 ],
Eric Laurent0a7885e2017-12-06 16:48:41 -080057 shared_libs: [
58 "libaudioclient",
59 "libbinder",
60 "libcutils",
61 "libutils",
62 ],
63 data: ["record_test_input_*.txt"],
64}