154aa6d63Sopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd. 254aa6d63Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 354aa6d63Sopenharmony_ci# you may not use this file except in compliance with the License. 454aa6d63Sopenharmony_ci# You may obtain a copy of the License at 554aa6d63Sopenharmony_ci# 654aa6d63Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 754aa6d63Sopenharmony_ci# 854aa6d63Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 954aa6d63Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 1054aa6d63Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1154aa6d63Sopenharmony_ci# See the License for the specific language governing permissions and 1254aa6d63Sopenharmony_ci# limitations under the License. 1354aa6d63Sopenharmony_ci 1454aa6d63Sopenharmony_ciimport("//build/config/features.gni") 1554aa6d63Sopenharmony_ciimport("//build/test.gni") 1654aa6d63Sopenharmony_ciimport("../../../../hapsigntool_cpp/signature_tools.gni") 1754aa6d63Sopenharmony_cimodule_out_path = "hapsigner/hapsigner_pc" 1854aa6d63Sopenharmony_ci 1954aa6d63Sopenharmony_ciohos_fuzztest("RandomAccessFileInputOutputFuzzTest") { 2054aa6d63Sopenharmony_ci testonly = true 2154aa6d63Sopenharmony_ci module_out_path = module_out_path 2254aa6d63Sopenharmony_ci fuzz_config_file = "." 2354aa6d63Sopenharmony_ci resource_config_file = 2454aa6d63Sopenharmony_ci "${signature_tools_test}/fuzztest/resource/ohos_test.xml" 2554aa6d63Sopenharmony_ci 2654aa6d63Sopenharmony_ci configs = [ "${signature_tools_test}:service_include" ] 2754aa6d63Sopenharmony_ci 2854aa6d63Sopenharmony_ci sources = [ "randomaccessfileinputoutput_fuzzer.cpp" ] 2954aa6d63Sopenharmony_ci 3054aa6d63Sopenharmony_ci deps = [ "${signature_tools_test}:service_target" ] 3154aa6d63Sopenharmony_ci 3254aa6d63Sopenharmony_ci remove_configs = [ "//build/config/compiler:no_exceptions" ] 3354aa6d63Sopenharmony_ci} 34