• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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#
16#
17source_set("BluetoothStackManagerSources") {
18  sources = [
19    "entry.cc",
20    "stack.cc",
21  ]
22
23  include_dirs = [
24    "//bt/system",
25    "//bt/system/btif/include",
26    "//bt/system/gd",
27    "//bt/system/stack/include",
28    "//bt/system/types",
29  ]
30
31  deps = [
32    "//bt/system/gd/common:BluetoothCommonSources",
33    "//bt/system/gd/hci:BluetoothHciSources",
34    "//bt/system/gd/lpp:BluetoothLppOffloadSources",
35    "//bt/system/gd/os:BluetoothOsSources_linux_generic",
36    "//bt/system/gd/packet:BluetoothPacketSources",
37    "//bt/system/gd/rust/topshim:libbluetooth_topshim",
38    "//bt/system/osi",
39    "//bt/system/pdl:BluetoothHciPacketSources",
40    "//bt/system/pdl:BluetoothGeneratedPackets_h",
41    "//bt/system/stack",
42    "//bt/system/types",
43  ]
44
45  configs += [
46    "//bt/system:target_defaults",
47    "//bt/system/log:log_defaults",
48  ]
49}
50source_set("LibBluetoothShimSources") {
51  sources = [
52    "acl.cc",
53    "acl_api.cc",
54    "acl_interface.cc",
55    "btm_api.cc",
56    "config.cc",
57    "distance_measurement_manager.cc",
58    "dumpsys.cc",
59    "hci_layer.cc",
60    "le_advertising_manager.cc",
61    "le_scanning_manager.cc",
62    "metric_id_api.cc",
63    "metrics_api.cc",
64    "shim.cc",
65    "utils.cc",
66  ]
67
68  include_dirs = [
69    "//bt/system",
70    "//bt/system/btif/include",
71    "//bt/system/gd",
72    "//bt/system/stack/include",
73    "//bt/system/types",
74  ]
75
76  deps = [
77    "//bt/sysprop:libcom.android.sysprop.bluetooth",
78    "//bt/system/gd/common:BluetoothCommonSources",
79    "//bt/system/gd/hci:BluetoothHciSources",
80    "//bt/system/gd/lpp:BluetoothLppOffloadSources",
81    "//bt/system/gd/os:BluetoothOsSources_linux_generic",
82    "//bt/system/gd/packet:BluetoothPacketSources",
83    "//bt/system/gd/rust/topshim:libbluetooth_topshim",
84    "//bt/system/osi",
85    "//bt/system/pdl:BluetoothHciPacketSources",
86    "//bt/system/pdl:BluetoothGeneratedPackets_h",
87    "//bt/system/stack",
88    "//bt/system/types",
89  ]
90
91  configs += [
92    "//bt/system:target_defaults",
93    "//bt/system/log:log_defaults",
94  ]
95}
96