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 11import("//build/config/features.gni") 12 13#####################hydra-fuzz################### 14import("//build/ohos.gni") 15import("//build/test.gni") 16module_output_path = "tee_client/tee_client" 17 18##############################fuzztest########################################## 19ohos_fuzztest("TeeClientOnRemoteRequestFuzzTest") { 20 module_out_path = module_output_path 21 fuzz_config_file = "../teeclientonremoterequest_fuzzer" 22 include_dirs = [ 23 "../../../../interfaces/inner_api", 24 "../../../../services/cadaemon/src/ca_daemon", 25 "../../../../services/authentication", 26 "../../../../frameworks/libteec_vendor", 27 "../../../../frameworks/include", 28 ] 29 cflags = [ 30 "-g", 31 "-O0", 32 "-Wno-unused-variable", 33 "-fno-omit-frame-pointer", 34 ] 35 sources = [ "teeclientonremoterequest_fuzzer.cpp" ] 36 37 deps = [ "../../../../services/cadaemon/build/standard:libcadaemon" ] 38 external_deps = [ 39 "access_token:libaccesstoken_sdk", 40 "c_utils:utils", 41 "hilog:libhilog", 42 "ipc:ipc_single", 43 "safwk:system_ability_fwk", 44 "samgr:samgr_proxy", 45 ] 46} 47