blob: 465814be98661e19e552f6e8bedf84a853198b74 [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"],
Jakub Pawlowski86209582017-10-20 01:14:20 -070013 compile_multilib: "both",
Jakub Pawlowskib707f442017-07-03 15:39:36 -070014 cflags: [
15 /* we export all classes, so change default visibility, instead of having EXPORT_SYMBOL on each class*/
16 "-fvisibility=default",
17 ],
18 host_supported: true,
19 srcs: [
20 "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: [
34 "test/raw_address_unittest.cc",
Jakub Pawlowski819e2ec2017-07-10 09:56:09 -070035 "test/bluetooth/uuid_unittest.cc",
Jakub Pawlowskib707f442017-07-03 15:39:36 -070036 ],
Jiyong Park33665e52017-07-07 13:29:16 +090037}