1package {
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
10cc_defaults {
11    name: "libaudioclient_tests_defaults",
12    cflags: [
13        "-Wall",
14        "-Werror",
15    ],
16}
17
18cc_test {
19    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 {
31    name: "test_create_audiotrack",
32    defaults: ["libaudioclient_tests_defaults"],
33    srcs: ["test_create_audiotrack.cpp",
34           "test_create_utils.cpp"],
35    header_libs: [
36        "libmedia_headers",
37        "libmediametrics_headers",
38    ],
39    shared_libs: [
40        "framework-permission-aidl-cpp",
41        "libaudioclient",
42        "libbinder",
43        "libcutils",
44        "libutils",
45    ],
46    data: ["track_test_input_*.txt"],
47}
48
49cc_test {
50    name: "test_create_audiorecord",
51    defaults: ["libaudioclient_tests_defaults"],
52    srcs: ["test_create_audiorecord.cpp",
53           "test_create_utils.cpp"],
54    header_libs: [
55        "libmedia_headers",
56        "libmediametrics_headers",
57    ],
58    shared_libs: [
59        "libaudioclient",
60        "libbinder",
61        "libcutils",
62        "libutils",
63        "framework-permission-aidl-cpp",
64    ],
65    data: ["record_test_input_*.txt"],
66}
67