1 // Bluetooth device static library for target 2 // ======================================================== 3 cc_library_static { 4 name: "libbtdevice", 5 defaults: ["fluoride_defaults"], 6 local_include_dirs: [ 7 "include", 8 ], 9 include_dirs: [ 10 "system/bt", 11 "system/bt/btcore/include", 12 "system/bt/hci/include", 13 "system/bt/internal_include", 14 "system/bt/stack/include", 15 ], 16 srcs: [ 17 "src/controller.cc", 18 "src/esco_parameters.cc", 19 "src/interop.cc", 20 ], 21 shared_libs: [ 22 "liblog", 23 ], 24 } 25 26 // Bluetooth device unit tests for target 27 // ======================================================== 28 cc_test { 29 name: "net_test_device", 30 test_suites: ["device-tests"], 31 defaults: ["fluoride_defaults"], 32 include_dirs: ["system/bt"], 33 srcs: [ 34 "test/interop_test.cc", 35 ], 36 shared_libs: [ 37 "liblog", 38 "libdl", 39 ], 40 static_libs: [ 41 "libbtdevice", 42 "libbtcore", 43 "libosi", 44 "libosi-AllocationTestHarness", 45 "libcutils", 46 "libbluetooth-types", 47 ], 48 } 49