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