1cc_defaults {
2    name: "libaudioclient_tests_defaults",
3    cflags: [
4        "-Wall",
5        "-Werror",
6    ],
7}
8
9cc_test {
10    name: "test_create_audiotrack",
11    defaults: ["libaudioclient_tests_defaults"],
12    srcs: ["test_create_audiotrack.cpp",
13           "test_create_utils.cpp"],
14    header_libs: [
15        "libmedia_headers",
16    ],
17    shared_libs: [
18        "libaudioclient",
19        "libbinder",
20        "libcutils",
21        "libutils",
22    ],
23    data: ["track_test_input_*.txt"],
24}
25
26cc_test {
27    name: "test_create_audiorecord",
28    defaults: ["libaudioclient_tests_defaults"],
29    srcs: ["test_create_audiorecord.cpp",
30           "test_create_utils.cpp"],
31    header_libs: [
32        "libmedia_headers",
33    ],
34    shared_libs: [
35        "libaudioclient",
36        "libbinder",
37        "libcutils",
38        "libutils",
39    ],
40    data: ["record_test_input_*.txt"],
41}
42