10704ebd2Sopenharmony_ci# Copyright (C) 2021-2024 Huawei Device Co., Ltd. 20704ebd2Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 30704ebd2Sopenharmony_ci# you may not use this file except in compliance with the License. 40704ebd2Sopenharmony_ci# You may obtain a copy of the License at 50704ebd2Sopenharmony_ci# 60704ebd2Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 70704ebd2Sopenharmony_ci# 80704ebd2Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 90704ebd2Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 100704ebd2Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 110704ebd2Sopenharmony_ci# See the License for the specific language governing permissions and 120704ebd2Sopenharmony_ci# limitations under the License. 130704ebd2Sopenharmony_ci 140704ebd2Sopenharmony_ciimport("../../../../../tools/build/suite.gni") 150704ebd2Sopenharmony_ci 160704ebd2Sopenharmony_cimodule_output_path = "dcts/softbus_base/transmission/sendstream" 170704ebd2Sopenharmony_cidsoftbus_root_path = "../../../../../../../foundation/communication/dsoftbus" 180704ebd2Sopenharmony_ciwifi_root_path = "../../../../../../../foundation/communication/wifi/wifi" 190704ebd2Sopenharmony_ci 200704ebd2Sopenharmony_ciohos_moduletest_suite("DctsSoftBusTransStreamFunTest") { 210704ebd2Sopenharmony_ci sanitize = { 220704ebd2Sopenharmony_ci cfi = true 230704ebd2Sopenharmony_ci cfi_cross_dso = true 240704ebd2Sopenharmony_ci debug = true 250704ebd2Sopenharmony_ci } 260704ebd2Sopenharmony_ci 270704ebd2Sopenharmony_ci module_out_path = module_output_path 280704ebd2Sopenharmony_ci sources = [ 290704ebd2Sopenharmony_ci "../../common/net_trans_common.c", 300704ebd2Sopenharmony_ci "../../common/wifi_utils.cpp", 310704ebd2Sopenharmony_ci "./trans_stream_test.cpp", 320704ebd2Sopenharmony_ci ] 330704ebd2Sopenharmony_ci 340704ebd2Sopenharmony_ci include_dirs = [ 350704ebd2Sopenharmony_ci "../../common", 360704ebd2Sopenharmony_ci "$dsoftbus_root_path/core/common/include", 370704ebd2Sopenharmony_ci "$dsoftbus_root_path/adapter/common/include", 380704ebd2Sopenharmony_ci "$dsoftbus_root_path/interfaces/kits/common", 390704ebd2Sopenharmony_ci "$dsoftbus_root_path/interfaces/kits/bus_center", 400704ebd2Sopenharmony_ci "$dsoftbus_root_path/interfaces/kits/discovery", 410704ebd2Sopenharmony_ci "$dsoftbus_root_path/interfaces/kits/transport", 420704ebd2Sopenharmony_ci "$wifi_root_path/frameworks/native/include", 430704ebd2Sopenharmony_ci "$wifi_root_path/frameworks/native/interfaces", 440704ebd2Sopenharmony_ci "$wifi_root_path/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper", 450704ebd2Sopenharmony_ci "$wifi_root_path/services/wifi_standard/wifi_framework/wifi_toolkit/log", 460704ebd2Sopenharmony_ci ] 470704ebd2Sopenharmony_ci 480704ebd2Sopenharmony_ci deps = [ "//third_party/googletest:gtest_main" ] 490704ebd2Sopenharmony_ci external_deps = [ 500704ebd2Sopenharmony_ci "access_token:libaccesstoken_sdk", 510704ebd2Sopenharmony_ci "access_token:libnativetoken", 520704ebd2Sopenharmony_ci "access_token:libtoken_setproc", 530704ebd2Sopenharmony_ci "c_utils:utils", 540704ebd2Sopenharmony_ci "dsoftbus:softbus_client", 550704ebd2Sopenharmony_ci "hilog:libhilog", 560704ebd2Sopenharmony_ci "ipc:ipc_core", 570704ebd2Sopenharmony_ci "wifi:wifi_sdk", 580704ebd2Sopenharmony_ci ] 590704ebd2Sopenharmony_ci subsystem_name = "communication" 600704ebd2Sopenharmony_ci part_name = "dsoftbus" 610704ebd2Sopenharmony_ci} 62