1 cc_defaults { 2 name: "libaaudio_tests_defaults", 3 cflags: [ 4 "-Wall", 5 "-Werror", 6 ], 7 } 8 9 cc_test { 10 name: "test_aaudio_marshalling", 11 defaults: ["libaaudio_tests_defaults"], 12 srcs: ["test_marshalling.cpp"], 13 shared_libs: [ 14 "libaaudio", 15 "libbinder", 16 "libcutils", 17 "libutils", 18 ], 19 } 20 21 cc_test { 22 name: "test_block_adapter", 23 defaults: ["libaaudio_tests_defaults"], 24 srcs: ["test_block_adapter.cpp"], 25 shared_libs: ["libaaudio"], 26 } 27 28 cc_test { 29 name: "test_timestamps", 30 defaults: ["libaaudio_tests_defaults"], 31 srcs: ["test_timestamps.cpp"], 32 header_libs: ["libaaudio_example_utils"], 33 shared_libs: ["libaaudio"], 34 } 35 36 cc_test { 37 name: "test_linear_ramp", 38 defaults: ["libaaudio_tests_defaults"], 39 srcs: ["test_linear_ramp.cpp"], 40 shared_libs: ["libaaudio"], 41 } 42 43 cc_test { 44 name: "test_open_params", 45 defaults: ["libaaudio_tests_defaults"], 46 srcs: ["test_open_params.cpp"], 47 shared_libs: [ 48 "libaaudio", 49 "libbinder", 50 "libcutils", 51 "libutils", 52 ], 53 } 54 55 cc_test { 56 name: "test_no_close", 57 defaults: ["libaaudio_tests_defaults"], 58 srcs: ["test_no_close.cpp"], 59 shared_libs: [ 60 "libaaudio", 61 "libbinder", 62 "libcutils", 63 "libutils", 64 ], 65 } 66 67 cc_test { 68 name: "test_aaudio_recovery", 69 defaults: ["libaaudio_tests_defaults"], 70 srcs: ["test_recovery.cpp"], 71 shared_libs: [ 72 "libaaudio", 73 "libbinder", 74 "libcutils", 75 "libutils", 76 ], 77 } 78 79 cc_test { 80 name: "test_n_streams", 81 defaults: ["libaaudio_tests_defaults"], 82 srcs: ["test_n_streams.cpp"], 83 shared_libs: [ 84 "libaaudio", 85 "libbinder", 86 "libcutils", 87 "libutils", 88 ], 89 } 90 91 cc_test { 92 name: "test_bad_disconnect", 93 defaults: ["libaaudio_tests_defaults"], 94 srcs: ["test_bad_disconnect.cpp"], 95 shared_libs: [ 96 "libaaudio", 97 "libbinder", 98 "libcutils", 99 "libutils", 100 ], 101 } 102 103 cc_test { 104 name: "test_various", 105 defaults: ["libaaudio_tests_defaults"], 106 srcs: ["test_various.cpp"], 107 shared_libs: [ 108 "libaaudio", 109 "libbinder", 110 "libcutils", 111 "libutils", 112 ], 113 } 114 115 cc_test { 116 name: "test_session_id", 117 defaults: ["libaaudio_tests_defaults"], 118 srcs: ["test_session_id.cpp"], 119 shared_libs: [ 120 "libaaudio", 121 "libbinder", 122 "libcutils", 123 "libutils", 124 ], 125 } 126 127 cc_test { 128 name: "test_aaudio_monkey", 129 defaults: ["libaaudio_tests_defaults"], 130 srcs: ["test_aaudio_monkey.cpp"], 131 header_libs: ["libaaudio_example_utils"], 132 shared_libs: [ 133 "libaaudio", 134 "libbinder", 135 "libcutils", 136 "libutils", 137 ], 138 } 139 140 cc_test { 141 name: "test_attributes", 142 defaults: ["libaaudio_tests_defaults"], 143 srcs: ["test_attributes.cpp"], 144 shared_libs: [ 145 "libaaudio", 146 "libbinder", 147 "libcutils", 148 "libutils", 149 ], 150 } 151 152 cc_test { 153 name: "test_interference", 154 defaults: ["libaaudio_tests_defaults"], 155 srcs: ["test_interference.cpp"], 156 shared_libs: [ 157 "libaaudio", 158 "libbinder", 159 "libcutils", 160 "libutils", 161 ], 162 } 163 164 cc_test { 165 name: "test_atomic_fifo", 166 defaults: ["libaaudio_tests_defaults"], 167 srcs: ["test_atomic_fifo.cpp"], 168 shared_libs: ["libaaudio"], 169 } 170