blob: f0f6e8f0ce80e4a089387474e2a3d00e0c710e22 [file] [log] [blame]
Myles Watsone4501e52022-09-30 06:20:50 -07001package {
2 default_applicable_licenses: ["hardware_interfaces_license"],
3}
4
5cc_library_static {
6 name: "android.hardware.bluetooth.hci",
7 vendor_available: true,
8 host_supported: true,
9 defaults: ["hidl_defaults"],
10 srcs: [
11 "hci_packetizer.cc",
12 "h4_protocol.cc",
13 ],
14 export_include_dirs: ["."],
15 shared_libs: [
16 "libbase",
17 "libhidlbase",
18 "liblog",
19 "libutils",
20 ],
21}
22
23cc_test {
24 name: "bluetooth-vendor-interface-hci-test",
25 host_supported: true,
26 defaults: ["hidl_defaults"],
27 srcs: [
28 "test/h4_protocol_unittest.cc",
29 ],
30 shared_libs: [
31 "libbase",
32 "libhidlbase",
33 "liblog",
34 "libutils",
35 ],
36 static_libs: [
37 "android.hardware.bluetooth.async",
38 "android.hardware.bluetooth.hci",
39 "libgmock",
40 ],
41 sanitize: {
42 address: true,
43 cfi: true,
44 },
45 test_suites: ["general-tests"],
46}