• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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("TeeClientRequestCancellationFuzzTest") {
18  module_out_path = module_output_path
19  fuzz_config_file = "../teeclientrequestcancellation_fuzzer"
20  include_dirs = [
21    "../../../../interfaces/inner_api",
22    "../../../../frameworks/libteec_vendor",
23    "../../../../services/authentication",
24    "../../../../frameworks/include",
25    "../../../../frameworks/include/standard",
26  ]
27  cflags = [
28    "-g",
29    "-O0",
30    "-Wno-unused-variable",
31    "-fno-omit-frame-pointer",
32  ]
33  sources = [ "teeclientrequestcancellation_fuzzer.cpp" ]
34
35  deps = [
36    "../../../../frameworks/build/standard:libteec",
37    "../../../../frameworks/build/standard:libteec_vendor",
38  ]
39
40  external_deps = [ "hilog:libhilog" ]
41}
42