Jakub Pawlowski | b707f44 | 2017-07-03 15:39:36 -0700 | [diff] [blame] | 1 | // Bluetooth types |
johnshamoon | 66676ad | 2017-07-21 10:18:58 -0700 | [diff] [blame] | 2 | cc_library_headers { |
| 3 | name: "libbluetooth-types-header", |
| 4 | export_include_dirs: ["./"], |
| 5 | vendor_available: true, |
| 6 | host_supported: true, |
| 7 | } |
| 8 | |
| 9 | cc_library { |
Jakub Pawlowski | b707f44 | 2017-07-03 15:39:36 -0700 | [diff] [blame] | 10 | name: "libbluetooth-types", |
Jiyong Park | 33665e5 | 2017-07-07 13:29:16 +0900 | [diff] [blame] | 11 | vendor_available: true, |
Jakub Pawlowski | b707f44 | 2017-07-03 15:39:36 -0700 | [diff] [blame] | 12 | defaults: ["fluoride_types_defaults"], |
Jakub Pawlowski | 8620958 | 2017-10-20 01:14:20 -0700 | [diff] [blame^] | 13 | compile_multilib: "both", |
Jakub Pawlowski | b707f44 | 2017-07-03 15:39:36 -0700 | [diff] [blame] | 14 | 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 Pawlowski | 819e2ec | 2017-07-10 09:56:09 -0700 | [diff] [blame] | 21 | "bluetooth/uuid.cc", |
Jakub Pawlowski | b707f44 | 2017-07-03 15:39:36 -0700 | [diff] [blame] | 22 | ], |
johnshamoon | 66676ad | 2017-07-21 10:18:58 -0700 | [diff] [blame] | 23 | header_libs: ["libbluetooth-types-header"], |
| 24 | export_header_lib_headers: ["libbluetooth-types-header"], |
Jakub Pawlowski | b707f44 | 2017-07-03 15:39:36 -0700 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | // ======================================================== |
| 28 | cc_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 Pawlowski | 819e2ec | 2017-07-10 09:56:09 -0700 | [diff] [blame] | 35 | "test/bluetooth/uuid_unittest.cc", |
Jakub Pawlowski | b707f44 | 2017-07-03 15:39:36 -0700 | [diff] [blame] | 36 | ], |
Jiyong Park | 33665e5 | 2017-07-07 13:29:16 +0900 | [diff] [blame] | 37 | } |