# Copyright (c) 2022-2023 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #####################hydra-fuzz################### import("//build/config/features.gni") import("//build/test.gni") module_output_path = "ace_engine/ace_engine/util" ##############################fuzztest########################################## import("//foundation/arkui/ace_engine/ace_config.gni") ohos_fuzztest("UtilFuzzTest") { module_out_path = module_output_path fuzz_config_file = "//foundation/arkui/ace_engine/test/fuzztest/util_fuzzer" sources = [ "$ace_root/frameworks/bridge/common/utils/source_map.cpp", "$ace_root/frameworks/core/common/container_scope.cpp", "util_fuzzer.cpp", ] deps = [ "$ace_root/frameworks/base:ace_memory_monitor_ohos", "$ace_root/frameworks/base/resource:ace_resource", "$ace_root/interfaces/inner_api/ui_service_manager:ui_service_mgr", "$ace_root/test/unittest:ace_unittest_log", "$ace_root/test/unittest:ace_unittest_trace", "$cjson_root:cjson", ] configs = [ "$ace_root/test/fuzztest:ace_fuzz_config" ] } ############################################################################### group("fuzztest") { testonly = true deps = [] deps += [ # deps file ":UtilFuzzTest", ] } ###############################################################################