1# Copyright 2023 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 15import("//build_overrides/pigweed.gni") 16import("$dir_pigweed/third_party/emboss/emboss.gni") 17import("$dir_pw_assert/backend.gni") 18import("$dir_pw_async/backend.gni") 19import("$dir_pw_function/function.gni") 20import("$dir_pw_fuzzer/fuzzer.gni") 21import("$dir_pw_unit_test/test.gni") 22 23declare_args() { 24 pw_bluetooth_sapphire_ENABLED = false 25} 26 27group("host") { 28 public_deps = [ 29 "att", 30 "common", 31 "gap", 32 "gatt", 33 "hci", 34 "hci-spec", 35 "l2cap", 36 "sco", 37 "sdp", 38 "sm", 39 "transport", 40 ] 41} 42 43pw_test_group("tests") { 44 enable_if = pw_bluetooth_sapphire_ENABLED 45 46 tests = [ 47 "att:tests", 48 "common:tests", 49 "gap:tests", 50 "gatt:tests", 51 "hci:tests", 52 "hci-spec:tests", 53 "l2cap:tests", 54 "sco:tests", 55 "sdp:tests", 56 "sm:tests", 57 "testing:tests", 58 "transport:tests", 59 ] 60} 61 62pw_fuzzer_group("fuzzers") { 63 fuzzers = [ 64 "common:advertising_data_fuzzer", 65 "gap:peer_cache_fuzzer", 66 "l2cap:basic_mode_rx_engine_fuzzer", 67 "l2cap:bredr_dynamic_channel_registry_fuzzer", 68 "l2cap:channel_configuration_fuzzer", 69 "l2cap:common_handler_fuzzer", 70 "l2cap:enhanced_retransmission_mode_engines_fuzzer", 71 "l2cap:l2cap_fuzzer", 72 "sdp:data_element_fuzzer", 73 "sdp:pdu_fuzzer", 74 "sm:valid_packet_reader_fuzzer", 75 ] 76} 77