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: "BluetoothHciSources",
12    srcs: [
13        "acl_manager.cc",
14        "acl_manager/acl_connection.cc",
15        "acl_manager/acl_fragmenter.cc",
16        "acl_manager/acl_scheduler.cc",
17        "acl_manager/classic_acl_connection.cc",
18        "acl_manager/le_acl_connection.cc",
19        "acl_manager/round_robin_scheduler.cc",
20        "controller.cc",
21        "distance_measurement_manager.cc",
22        "hci_layer.cc",
23        "hci_metrics_logging.cc",
24        "le_address_manager.cc",
25        "le_advertising_manager.cc",
26        "le_scanning_manager.cc",
27        "le_scanning_reassembler.cc",
28        "link_key.cc",
29        "remote_name_request.cc",
30        "uuid.cc",
31    ],
32}
33
34filegroup {
35    name: "BluetoothHciUnitTestSources",
36    srcs: [
37        ":BluetoothHalFake",
38        "acl_builder_test.cc",
39        "acl_manager/acl_scheduler_test.cc",
40        "acl_manager/classic_acl_connection_test.cc",
41        "acl_manager/classic_impl_test.cc",
42        "acl_manager/le_acl_connection_test.cc",
43        "acl_manager/le_impl_test.cc",
44        "acl_manager/round_robin_scheduler_test.cc",
45        "acl_manager_test.cc",
46        "acl_manager_unittest.cc",
47        "address_unittest.cc",
48        "address_with_type_test.cc",
49        "class_of_device_unittest.cc",
50        "controller_test.cc",
51        "controller_unittest.cc",
52        "hci_layer_fake.cc",
53        "hci_layer_test.cc",
54        "hci_layer_unittest.cc",
55        "hci_packets_test.cc",
56        "le_address_manager_test.cc",
57        "le_advertising_manager_test.cc",
58        "le_periodic_sync_manager_test.cc",
59        "le_scanning_manager_test.cc",
60        "le_scanning_reassembler_test.cc",
61        "remote_name_request_test.cc",
62        "uuid_unittest.cc",
63    ],
64}
65
66filegroup {
67    name: "BluetoothFacade_hci_layer",
68    srcs: [
69        "facade/acl_manager_facade.cc",
70        "facade/controller_facade.cc",
71        "facade/facade.cc",
72        "facade/le_acl_manager_facade.cc",
73        "facade/le_advertising_manager_facade.cc",
74        "facade/le_initiator_address_facade.cc",
75        "facade/le_scanning_manager_facade.cc",
76    ],
77}
78
79filegroup {
80    name: "BluetoothHciFuzzTestSources",
81    srcs: [
82        "hci_packets_fuzz_test.cc",
83    ],
84}
85
86filegroup {
87    name: "BluetoothHciFuzzHelperSources",
88    srcs: [
89        "fuzz/fuzz_hci_layer.cc",
90        "fuzz/hci_layer_fuzz_client.cc",
91        "fuzz/status_vs_complete_commands.cc",
92    ],
93}
94