1// Copyright 2024 The Pigweed Authors 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); you may not 4// use this file except in compliance with the License. You may obtain a copy of 5// the License at 6// 7// https://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12// License for the specific language governing permissions and limitations under 13// the License. 14 15package { 16 default_applicable_licenses: ["external_pigweed_license"], 17} 18 19cc_library_static { 20 name: "pw_bluetooth_proxy", 21 cpp_std: "c++20", 22 vendor_available: true, 23 host_supported: true, 24 25 // LINT.IfChange 26 srcs: [ 27 "acl_data_channel.cc", 28 "basic_l2cap_channel.cc", 29 "gatt_notify_channel.cc", 30 "h4_storage.cc", 31 "l2cap_aclu_signaling_channel.cc", 32 "l2cap_channel.cc", 33 "l2cap_channel_manager.cc", 34 "l2cap_coc.cc", 35 "l2cap_leu_signaling_channel.cc", 36 "l2cap_signaling_channel.cc", 37 "l2cap_status_tracker.cc", 38 "multibuf_writer.cc", 39 "proxy_host.cc", 40 "rfcomm_channel.cc", 41 "rfcomm_fcs.cc", 42 ], 43 export_include_dirs: [ 44 "public", 45 ], 46 defaults: [ 47 "pw_android_common_backends", 48 ], 49 static_libs: [ 50 "pw_allocator", 51 "pw_containers", 52 "pw_function", 53 "pw_multibuf", 54 "pw_result", 55 "pw_span", 56 "pw_span_cast", 57 "pw_status", 58 ], 59 export_static_lib_headers: [ 60 "pw_allocator", 61 "pw_containers", 62 "pw_function", 63 "pw_result", 64 "pw_multibuf", 65 "pw_span", 66 "pw_status", 67 ], 68 header_libs: [ 69 "emboss_runtime_headers", 70 "fuchsia_sdk_lib_stdcompat", 71 "pw_bluetooth_emboss_util_include_dirs", 72 ], 73 generated_headers: [ 74 "pw_bluetooth_generate_emboss_att", 75 "pw_bluetooth_generate_emboss_hci_commands", 76 "pw_bluetooth_generate_emboss_hci_common", 77 "pw_bluetooth_generate_emboss_hci_data", 78 "pw_bluetooth_generate_emboss_hci_events", 79 "pw_bluetooth_generate_emboss_hci_h4", 80 "pw_bluetooth_generate_emboss_l2cap_frames", 81 "pw_bluetooth_generate_emboss_rfcomm_frames", 82 ], 83 export_generated_headers: [ 84 "pw_bluetooth_generate_emboss_att", 85 "pw_bluetooth_generate_emboss_hci_commands", 86 "pw_bluetooth_generate_emboss_hci_common", 87 "pw_bluetooth_generate_emboss_hci_data", 88 "pw_bluetooth_generate_emboss_hci_events", 89 "pw_bluetooth_generate_emboss_hci_h4", 90 "pw_bluetooth_generate_emboss_l2cap_frames", 91 "pw_bluetooth_generate_emboss_rfcomm_frames", 92 ], 93 // LINT.ThenChange(BUILD.gn, BUILD.bazel, CMakeLists.txt) 94 95} 96