14f7ff21fSopenharmony_ci# Copyright (c) 2022-2023 Huawei Device Co., Ltd. 24f7ff21fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 34f7ff21fSopenharmony_ci# you may not use this file except in compliance with the License. 44f7ff21fSopenharmony_ci# You may obtain a copy of the License at 54f7ff21fSopenharmony_ci# 64f7ff21fSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 74f7ff21fSopenharmony_ci# 84f7ff21fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 94f7ff21fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 104f7ff21fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 114f7ff21fSopenharmony_ci# See the License for the specific language governing permissions and 124f7ff21fSopenharmony_ci# limitations under the License. 134f7ff21fSopenharmony_ci 144f7ff21fSopenharmony_ciimport("//build/config/features.gni") 154f7ff21fSopenharmony_ciimport("//build/test.gni") 164f7ff21fSopenharmony_ci 174f7ff21fSopenharmony_ciohos_fuzztest("FingerprintAuthServiceFuzzTest") { 184f7ff21fSopenharmony_ci branch_protector_ret = "pac_ret" 194f7ff21fSopenharmony_ci module_out_path = "fingerprint_auth/fingerprint_auth" 204f7ff21fSopenharmony_ci fuzz_config_file = "." 214f7ff21fSopenharmony_ci 224f7ff21fSopenharmony_ci cflags = [ 234f7ff21fSopenharmony_ci "-g", 244f7ff21fSopenharmony_ci "-O0", 254f7ff21fSopenharmony_ci "-Wno-unused-variable", 264f7ff21fSopenharmony_ci "-fno-omit-frame-pointer", 274f7ff21fSopenharmony_ci ] 284f7ff21fSopenharmony_ci 294f7ff21fSopenharmony_ci include_dirs = [ "../iamfuzz" ] 304f7ff21fSopenharmony_ci 314f7ff21fSopenharmony_ci sources = [ 324f7ff21fSopenharmony_ci "../iamfuzz/iam_fuzz_test.cpp", 334f7ff21fSopenharmony_ci "fingerprint_auth_service_fuzzer.cpp", 344f7ff21fSopenharmony_ci ] 354f7ff21fSopenharmony_ci 364f7ff21fSopenharmony_ci deps = [ "../common_fuzzer:fingerprintauthservice_source_set_fuzzer" ] 374f7ff21fSopenharmony_ci 384f7ff21fSopenharmony_ci external_deps = [ "hilog:libhilog" ] 394f7ff21fSopenharmony_ci 404f7ff21fSopenharmony_ci remove_configs = [ "//build/config/compiler:no_exceptions" ] 414f7ff21fSopenharmony_ci 424f7ff21fSopenharmony_ci subsystem_name = "useriam" 434f7ff21fSopenharmony_ci part_name = "fingerprint_auth" 444f7ff21fSopenharmony_ci} 45