• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Bluetooth types
2cc_library_headers {
3    name: "libbluetooth-types-header",
4    export_include_dirs: ["./"],
5    vendor_available: true,
6    host_supported: true,
7}
8
9cc_library_static {
10    name: "libbluetooth-types",
11    vendor_available: true,
12    defaults: ["fluoride_types_defaults"],
13    cflags: [
14        /* we export all classes, so change default visibility, instead of having EXPORT_SYMBOL on each class*/
15        "-fvisibility=default",
16    ],
17    host_supported: true,
18    srcs: [
19        "raw_address.cc",
20        "bluetooth/uuid.cc",
21    ],
22    header_libs: ["libbluetooth-types-header"],
23    export_header_lib_headers: ["libbluetooth-types-header"],
24}
25
26// ========================================================
27cc_test {
28    name: "net_test_types",
29    test_suites: ["device-tests"],
30    defaults: ["fluoride_defaults"],
31    host_supported: true,
32    srcs: [
33        "test/raw_address_unittest.cc",
34        "test/bluetooth/uuid_unittest.cc",
35    ],
36}
37