1#
2#  Copyright 2021 Google, Inc.
3#
4#  Licensed under the Apache License, Version 2.0 (the "License");
5#  you may not use this file except in compliance with the License.
6#  You may obtain a copy of the License at:
7#
8#  http://www.apache.org/licenses/LICENSE-2.0
9#
10#  Unless required by applicable law or agreed to in writing, software
11#  distributed under the License is distributed on an "AS IS" BASIS,
12#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13#  See the License for the specific language governing permissions and
14#  limitations under the License.
15
16source_set("BluetoothL2capSources") {
17  sources = [
18    "classic/dynamic_channel_manager.cc",
19    "classic/dynamic_channel_service.cc",
20    "classic/fixed_channel.cc",
21    "classic/fixed_channel_manager.cc",
22    "classic/fixed_channel_service.cc",
23    "classic/internal/dumpsys_helper.cc",
24    "classic/internal/dynamic_channel_service_manager_impl.cc",
25    "classic/internal/fixed_channel_impl.cc",
26    "classic/internal/fixed_channel_service_manager_impl.cc",
27    "classic/internal/link.cc",
28    "classic/internal/link_manager.cc",
29    "classic/internal/signalling_manager.cc",
30    "classic/l2cap_classic_module.cc",
31    "dynamic_channel.cc",
32    "fcs.cc",
33    "internal/basic_mode_channel_data_controller.cc",
34    "internal/data_pipeline_manager.cc",
35    "internal/dynamic_channel_allocator.cc",
36    "internal/dynamic_channel_impl.cc",
37    "internal/enhanced_retransmission_mode_channel_data_controller.cc",
38    "internal/le_credit_based_channel_data_controller.cc",
39    "internal/receiver.cc",
40    "internal/scheduler_fifo.cc",
41    "internal/sender.cc",
42    "le/dynamic_channel.cc",
43    "le/dynamic_channel_manager.cc",
44    "le/dynamic_channel_service.cc",
45    "le/fixed_channel.cc",
46    "le/fixed_channel_manager.cc",
47    "le/fixed_channel_service.cc",
48    "le/internal/dynamic_channel_service_manager_impl.cc",
49    "le/internal/fixed_channel_impl.cc",
50    "le/internal/fixed_channel_service_manager_impl.cc",
51    "le/internal/link.cc",
52    "le/internal/link_manager.cc",
53    "le/internal/signalling_manager.cc",
54    "le/l2cap_le_module.cc",
55    "le/link_options.cc",
56  ]
57
58  configs += [ "//bt/system/gd:gd_defaults" ]
59  deps = [ "//bt/system/gd:gd_default_deps" ]
60}
61