1// Bluetooth test suite for target 2// ======================================================== 3cc_test { 4 name: "net_test_bluetooth", 5 test_suites: ["device-tests"], 6 defaults: ["fluoride_defaults"], 7 include_dirs: ["system/bt"], 8 srcs: [ 9 "adapter/adapter_unittest.cc", 10 "adapter/bluetooth_test.cc", 11 "gatt/gatt_test.cc", 12 "gatt/gatt_unittest.cc", 13 ], 14 header_libs: ["libhardware_headers"], 15 shared_libs: [ 16 "liblog", 17 "libcutils", 18 ], 19 static_libs: [ 20 "libbtcore", 21 "libosi", 22 ], 23 whole_static_libs: [ 24 "libbluetoothtbd_hal", 25 ], 26} 27 28// Bluetooth test suite for target 29// ======================================================== 30cc_test { 31 name: "net_test_rfcomm_suite", 32 defaults: ["fluoride_defaults"], 33 include_dirs: ["system/bt"], 34 srcs: [ 35 "adapter/bluetooth_test.cc", 36 "rfcomm/rfcomm_test.cc", 37 "rfcomm/rfcomm_unittest.cc", 38 ], 39 header_libs: [ "libhardware_headers" ], 40 shared_libs: [ 41 "liblog", 42 "libcutils", 43 ], 44 static_libs: [ 45 "libbtcore", 46 "libosi", 47 ], 48 whole_static_libs: [ 49 "libbluetoothtbd_hal", 50 ], 51} 52 53// Bluetooth test suite for target 54// ======================================================== 55cc_test { 56 name: "net_test_performance", 57 defaults: ["fluoride_defaults"], 58 include_dirs: ["system/bt"], 59 srcs: [ 60 "core/thread_performance_test.cc", 61 ], 62 shared_libs: [ 63 "liblog", 64 ], 65 static_libs: [ 66 "libgmock", 67 "libosi", 68 ], 69} 70