1cc_library { 2 name: "libbluetooth_log", 3 host_supported: true, 4 min_sdk_version: "33", 5 apex_available: [ 6 "com.android.btservices", 7 ], 8 export_include_dirs: [ 9 "include", 10 ], 11 shared_libs: [ 12 "libbase", 13 "liblog", 14 ], 15 srcs: [ 16 "src/vlog_android.cc", 17 ], 18 19 // WARNING 20 // 21 // Before adding any package to the visibility list of the _bluetooth_ 22 // logging library: be aware that the burden of maintaining the dependents 23 // will _always_ fall on the library developer. Dependent repositories 24 // need to be updated for any breaking change. 25 // 26 // Always extend this list with strict package selection (e.g. 27 // "//hardware/interfaces/bluetooth/aidl/vts"), _never_ with open selection 28 // (e.g. "//vendor:__subpackages__"). 29 // 30 visibility: [ 31 "//hardware/interfaces/bluetooth/aidl/vts", 32 "//packages/modules/Bluetooth:__subpackages__", 33 ], 34} 35 36cc_test { 37 name: "libbluetooth_log_test", 38 host_supported: true, 39 srcs: [ 40 "src/truncating_buffer_test.cc", 41 "src/vlog_test.cc", 42 ], 43 shared_libs: [ 44 "libbase", 45 "libbluetooth_log", 46 ], 47} 48