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("TeeClientFinalizeContextFuzzTest") { 18 module_out_path = module_output_path 19 fuzz_config_file = "../teeclientfinalizecontext_fuzzer" 20 include_dirs = [ "../../../../interfaces/inner_api" ] 21 cflags = [ 22 "-g", 23 "-O0", 24 "-Wno-unused-variable", 25 "-fno-omit-frame-pointer", 26 ] 27 sources = [ "teeclientfinalizecontext_fuzzer.cpp" ] 28 29 deps = [ "../../../../frameworks/build/standard:libteec" ] 30} 31