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: "BluetoothL2capSources",
12    srcs: [
13        "classic/dynamic_channel_manager.cc",
14        "classic/dynamic_channel_service.cc",
15        "classic/fixed_channel.cc",
16        "classic/fixed_channel_manager.cc",
17        "classic/fixed_channel_service.cc",
18        "classic/internal/dumpsys_helper.cc",
19        "classic/internal/dynamic_channel_service_manager_impl.cc",
20        "classic/internal/fixed_channel_impl.cc",
21        "classic/internal/fixed_channel_service_manager_impl.cc",
22        "classic/internal/link.cc",
23        "classic/internal/link_manager.cc",
24        "classic/internal/signalling_manager.cc",
25        "classic/l2cap_classic_module.cc",
26        "dynamic_channel.cc",
27        "fcs.cc",
28        "internal/basic_mode_channel_data_controller.cc",
29        "internal/data_pipeline_manager.cc",
30        "internal/dynamic_channel_allocator.cc",
31        "internal/dynamic_channel_impl.cc",
32        "internal/enhanced_retransmission_mode_channel_data_controller.cc",
33        "internal/le_credit_based_channel_data_controller.cc",
34        "internal/receiver.cc",
35        "internal/scheduler_fifo.cc",
36        "internal/sender.cc",
37        "le/dynamic_channel.cc",
38        "le/dynamic_channel_manager.cc",
39        "le/dynamic_channel_service.cc",
40        "le/fixed_channel.cc",
41        "le/fixed_channel_manager.cc",
42        "le/fixed_channel_service.cc",
43        "le/internal/dynamic_channel_service_manager_impl.cc",
44        "le/internal/fixed_channel_impl.cc",
45        "le/internal/fixed_channel_service_manager_impl.cc",
46        "le/internal/link.cc",
47        "le/internal/link_manager.cc",
48        "le/internal/signalling_manager.cc",
49        "le/l2cap_le_module.cc",
50        "le/link_options.cc",
51    ],
52}
53
54filegroup {
55    name: "BluetoothL2capTestSources",
56    srcs: [
57        "classic/internal/dynamic_channel_service_manager_test.cc",
58        "classic/internal/fixed_channel_impl_test.cc",
59        "classic/internal/fixed_channel_service_manager_test.cc",
60        "classic/internal/link_manager_test.cc",
61        "classic/internal/link_test.cc",
62        "classic/internal/signalling_manager_test.cc",
63        "internal/basic_mode_channel_data_controller_test.cc",
64        "internal/dynamic_channel_allocator_test.cc",
65        "internal/dynamic_channel_impl_test.cc",
66        "internal/enhanced_retransmission_mode_channel_data_controller_test.cc",
67        "internal/fixed_channel_allocator_test.cc",
68        "internal/le_credit_based_channel_data_controller_test.cc",
69        "internal/scheduler_fifo_test.cc",
70        "internal/sender_test.cc",
71        "le/internal/dynamic_channel_service_manager_test.cc",
72        "le/internal/fixed_channel_impl_test.cc",
73        "le/internal/fixed_channel_service_manager_test.cc",
74        "le/internal/link_manager_test.cc",
75    ],
76}
77
78filegroup {
79    name: "BluetoothL2capUnitTestSources",
80    srcs: [
81        "l2cap_packet_test.cc",
82        "signal_id_test.cc",
83    ],
84}
85
86filegroup {
87    name: "BluetoothFacade_l2cap_layer",
88    srcs: [
89        "classic/facade.cc",
90        "le/facade.cc",
91    ],
92}
93
94filegroup {
95    name: "BluetoothL2capFuzzTestSources",
96    srcs: [
97        "internal/dynamic_channel_allocator_fuzz_test.cc",
98        "l2cap_packet_fuzz_test.cc",
99    ],
100}
101