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 shared_libs: [ 15 "libaudioclient", 16 "libbinder", 17 "libcutils", 18 "libutils", 19 ], 20 data: ["track_test_input_*.txt"], 21} 22 23cc_test { 24 name: "test_create_audiorecord", 25 defaults: ["libaudioclient_tests_defaults"], 26 srcs: ["test_create_audiorecord.cpp", 27 "test_create_utils.cpp"], 28 shared_libs: [ 29 "libaudioclient", 30 "libbinder", 31 "libcutils", 32 "libutils", 33 ], 34 data: ["record_test_input_*.txt"], 35} 36