blob: 92c6ec0c80507a11b5cabcdee8dcae00dfb5429d [file] [log] [blame]
Bob Badour948e6aa2021-02-12 21:02:31 -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 {
19 name: "test_create_audiotrack",
20 defaults: ["libaudioclient_tests_defaults"],
Eric Laurent0a7885e2017-12-06 16:48:41 -080021 srcs: ["test_create_audiotrack.cpp",
22 "test_create_utils.cpp"],
Marco Nelissen6b285942019-10-21 14:52:30 -070023 header_libs: [
24 "libmedia_headers",
Marco Nelissen7c96ea72020-01-10 15:46:22 -080025 "libmediametrics_headers",
Marco Nelissen6b285942019-10-21 14:52:30 -070026 ],
Eric Laurent4473d782017-11-28 11:53:36 -080027 shared_libs: [
28 "libaudioclient",
Eric Laurent0a7885e2017-12-06 16:48:41 -080029 "libbinder",
Eric Laurent4473d782017-11-28 11:53:36 -080030 "libcutils",
31 "libutils",
Eric Laurent4473d782017-11-28 11:53:36 -080032 ],
33 data: ["track_test_input_*.txt"],
34}
Eric Laurent0a7885e2017-12-06 16:48:41 -080035
36cc_test {
37 name: "test_create_audiorecord",
38 defaults: ["libaudioclient_tests_defaults"],
39 srcs: ["test_create_audiorecord.cpp",
40 "test_create_utils.cpp"],
Marco Nelissen6b285942019-10-21 14:52:30 -070041 header_libs: [
42 "libmedia_headers",
Marco Nelissen7c96ea72020-01-10 15:46:22 -080043 "libmediametrics_headers",
Marco Nelissen6b285942019-10-21 14:52:30 -070044 ],
Eric Laurent0a7885e2017-12-06 16:48:41 -080045 shared_libs: [
46 "libaudioclient",
47 "libbinder",
48 "libcutils",
49 "libutils",
50 ],
51 data: ["record_test_input_*.txt"],
52}