blob: 444b6ffd33a91389d9951999359ec828fb158f5c [file] [log] [blame]
Jakub Pawlowskib707f442017-07-03 15:39:36 -07001// Bluetooth types
johnshamoon66676ad2017-07-21 10:18:58 -07002cc_library_headers {
3 name: "libbluetooth-types-header",
4 export_include_dirs: ["./"],
5 vendor_available: true,
6 host_supported: true,
7}
8
Jakub Pawlowskid59bdf52017-10-25 15:30:54 -07009cc_library_static {
Jakub Pawlowskib707f442017-07-03 15:39:36 -070010 name: "libbluetooth-types",
Jiyong Park33665e52017-07-07 13:29:16 +090011 vendor_available: true,
Jakub Pawlowskib707f442017-07-03 15:39:36 -070012 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: [
Myles Watson6c252872018-11-21 16:24:52 -080019 "class_of_device.cc",
Jakub Pawlowskib707f442017-07-03 15:39:36 -070020 "raw_address.cc",
Jakub Pawlowski819e2ec2017-07-10 09:56:09 -070021 "bluetooth/uuid.cc",
Jakub Pawlowskib707f442017-07-03 15:39:36 -070022 ],
johnshamoon66676ad2017-07-21 10:18:58 -070023 header_libs: ["libbluetooth-types-header"],
24 export_header_lib_headers: ["libbluetooth-types-header"],
Jakub Pawlowskib707f442017-07-03 15:39:36 -070025}
26
27// ========================================================
28cc_test {
29 name: "net_test_types",
30 test_suites: ["device-tests"],
31 defaults: ["fluoride_defaults"],
32 host_supported: true,
33 srcs: [
Myles Watson6c252872018-11-21 16:24:52 -080034 "test/class_of_device_unittest.cc",
Jakub Pawlowskib707f442017-07-03 15:39:36 -070035 "test/raw_address_unittest.cc",
Jakub Pawlowski819e2ec2017-07-10 09:56:09 -070036 "test/bluetooth/uuid_unittest.cc",
Jakub Pawlowskib707f442017-07-03 15:39:36 -070037 ],
Jiyong Park33665e52017-07-07 13:29:16 +090038}