1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "system_bt_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["system_bt_license"],
8}
9
10filegroup {
11    name: "BluetoothHalSources",
12    srcs: [
13        "link_clocker.cc",
14        "snoop_logger.cc",
15        "snoop_logger_socket.cc",
16        "snoop_logger_socket_thread.cc",
17        "syscall_wrapper_impl.cc",
18    ],
19}
20
21filegroup {
22    name: "BluetoothHalTestSources",
23    srcs: [
24        "hci_hal_android_test.cc",
25        "snoop_logger_socket_test.cc",
26        "snoop_logger_socket_thread_test.cc",
27        "snoop_logger_test.cc",
28    ],
29}
30
31filegroup {
32    name: "BluetoothHalSources_hci_host",
33    srcs: [
34        "hci_hal_host_rootcanal.cc",
35    ],
36}
37
38filegroup {
39    name: "BluetoothHalSources_ranging_host",
40    srcs: [
41        "ranging_hal_host.cc",
42    ],
43}
44
45filegroup {
46    name: "BluetoothHalSources_socket_android",
47    srcs: [
48        "socket_hal_android.cc",
49    ],
50}
51
52filegroup {
53    name: "BluetoothHalSources_socket_host",
54    srcs: [
55        "socket_hal_host.cc",
56    ],
57}
58
59filegroup {
60    name: "BluetoothHalSources_hci_android_hidl",
61    srcs: [
62        "hci_backend_aidl.cc",
63        "hci_backend_hidl.cc",
64        "hci_hal_android.cc",
65    ],
66}
67
68filegroup {
69    name: "BluetoothHalSources_ranging_android",
70    srcs: [
71        "ranging_hal_android.cc",
72    ],
73}
74
75filegroup {
76    name: "BluetoothHalTestSources_hci_host",
77    srcs: [
78        "hci_hal_host_test.cc",
79    ],
80}
81
82filegroup {
83    name: "BluetoothHalFake",
84    srcs: [
85        "hci_hal_fake.cc",
86    ],
87}
88
89filegroup {
90    name: "BluetoothFacade_hci_hal",
91    srcs: [
92        "facade.cc",
93    ],
94}
95
96filegroup {
97    name: "BluetoothHalFuzzSources",
98    srcs: [
99        "fuzz/fuzz_hci_hal.cc",
100    ],
101}
102