Android.bp 1.0 KB

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