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