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("//build/ohos.gni") 15 16config("cert_manager_config") { 17 include_dirs = [ "include" ] 18} 19 20ohos_static_library("libcert_manager_fuzz_test_common_static") { 21 subsystem_name = "security" 22 part_name = "certificate_manager" 23 public_configs = [ ":cert_manager_config" ] 24 include_dirs = [ 25 "../../../frameworks/cert_manager_standard/main/common/include", 26 "../../../frameworks/cert_manager_standard/main/os_dependency/cm_ipc/include", 27 "../../../interfaces/innerkits/cert_manager_standard/main/include", 28 ] 29 sources = [ "src/cm_fuzz_test_common.cpp" ] 30 cflags_cc = [ 31 "-Wall", 32 "-Werror", 33 ] 34 defines = [ 35 "L2_STANDARD", 36 "_CM_LOG_ENABLE_", 37 ] 38 deps = [ 39 "../../../interfaces/innerkits/cert_manager_standard/main:cert_manager_sdk", 40 ] 41 external_deps = [ 42 "c_utils:utils", 43 "ipc:ipc_core", 44 ] 45 complete_static_lib = true 46} 47