1# Copyright (C) 2022 Huawei Technologies Co., Ltd. 2# Licensed under the Mulan PSL v2. 3# You can use this software according to the terms and conditions of the Mulan PSL v2. 4# You may obtain a copy of Mulan PSL v2 at: 5# http://license.coscl.org.cn/MulanPSL2 6# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR 7# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR 8# PURPOSE. 9# See the Mulan PSL v2 for more details. 10 11#####################hydra-fuzz################### 12import("//build/config/features.gni") 13import("//build/test.gni") 14module_output_path = "tee_client/tee_client" 15 16##############################fuzztest########################################## 17ohos_fuzztest("LibteecVendorCloseSessionFuzzTest") { 18 module_out_path = module_output_path 19 fuzz_config_file = "../libteecvendorclosesession_fuzzer" 20 include_dirs = [ 21 "../../../../interfaces/inner_api", 22 "../../../../frameworks/libteec_vendor", 23 "../../../../services/authentication", 24 "../../../../frameworks/include", 25 ] 26 cflags = [ 27 "-g", 28 "-O0", 29 "-Wno-unused-variable", 30 "-fno-omit-frame-pointer", 31 ] 32 sources = [ "libteecvendorclosesession_fuzzer.cpp" ] 33 34 deps = [ "../../../../frameworks/build/standard:libteec_vendor" ] 35 36 external_deps = [ 37 "c_utils:utils", 38 "hilog:libhilog", 39 "ipc:ipc_single", 40 "safwk:system_ability_fwk", 41 ] 42} 43