• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//foundation/arkui/ace_engine/ace_config.gni")
15
16# ace fuzz config
17config("ace_fuzz_config") {
18  visibility = [ "./../../*" ]
19  include_dirs = [
20    "$ace_root",
21    "$ace_root/frameworks",
22    "$root_out_dir/arkui/framework",
23  ]
24  cflags = []
25  ldflags = []
26  if (ace_engine_feature_enable_coverage) {
27    cflags += [ "--coverage" ]
28    ldflags += [ "--coverage" ]
29  }
30
31  defines = [ "FUZZTEST" ]
32}
33
34group("fuzztest") {
35  testonly = true
36  deps = [
37    "acereskeyparser_fuzzer:AceResKeyParserFuzzTest",
38    "arkressched_fuzzer:ArkResschedFuzzTest",
39    "arkuiformrendergroup_fuzzer:ArkuiFormRenderGroupFuzzTest",
40    "arkuiformrenderimpl_fuzzer:ArkuiFormRenderImplFuzzTest",
41    "arkuiformrenderproxy_fuzzer:ArkuiFormRenderProxyFuzzTest",
42    "imageloader_fuzzer:ImageLoaderFuzzTest",
43    "manifest_fuzzer:ManifestFuzzTest",
44    "res2_fuzzer:Res2FuzzTest",
45    "res_fuzzer:ResFuzzTest",
46    "sharedimagemanager_fuzzer:SharedImageManagerFuzzTest",
47    "uiservice_fuzzer:UiServiceFuzzTest",
48    "util_fuzzer:UtilFuzzTest",
49
50    #"utilengine_fuzzer:UtilEngineFuzzTest",
51    #"utilmost_fuzzer:UtilMostFuzzTest",
52  ]
53}
54