1# Copyright (c) 2021-2025 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//build/test.gni") 15import("../../../dsoftbus.gni") 16 17group("unittest") { 18 testonly = true 19 deps = [ 20 "manager/unittest:unittest", 21 "service_discovery/service_database/unittest:unittest", 22 "virlink/adapter/unittest:unittest", 23 ] 24 if (dsoftbus_feature_disc_ble && dsoftbus_feature_inner_disc_ble) { 25 deps += [ 26 "ble/approach_ble:unittest", 27 "ble/dispatcher:unittest", 28 "ble/raise_ble:unittest", 29 "ble/softbus_ble:unittest", 30 "ble/softbus_ble_mock:unittest", 31 "common:unittest", 32 "ipc:unittest", 33 ] 34 } 35 if (dsoftbus_feature_disc_coap && dsoftbus_feature_inner_disc_coap) { 36 deps += [ 37 "coap/common/unittest:unittest", 38 "coap/unittest:unittest", 39 ] 40 } 41} 42