11401458bSopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd. 21401458bSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 31401458bSopenharmony_ci# you may not use this file except in compliance with the License. 41401458bSopenharmony_ci# You may obtain a copy of the License at 51401458bSopenharmony_ci# 61401458bSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 71401458bSopenharmony_ci# 81401458bSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 91401458bSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 101401458bSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 111401458bSopenharmony_ci# See the License for the specific language governing permissions and 121401458bSopenharmony_ci# limitations under the License. 131401458bSopenharmony_ci 141401458bSopenharmony_ciimport("//build/ohos.gni") 151401458bSopenharmony_ci 161401458bSopenharmony_ciconfig("hisysevent_easy_config") { 171401458bSopenharmony_ci visibility = [ "*:*" ] 181401458bSopenharmony_ci 191401458bSopenharmony_ci include_dirs = [ "include" ] 201401458bSopenharmony_ci} 211401458bSopenharmony_ci 221401458bSopenharmony_ciohos_static_library("libhisysevent_easy") { 231401458bSopenharmony_ci branch_protector_ret = "pac_ret" 241401458bSopenharmony_ci sanitize = { 251401458bSopenharmony_ci cfi = true 261401458bSopenharmony_ci cfi_cross_dso = true 271401458bSopenharmony_ci cfi_vcall_icall_only = true 281401458bSopenharmony_ci debug = false 291401458bSopenharmony_ci } 301401458bSopenharmony_ci 311401458bSopenharmony_ci configs = [ ":hisysevent_easy_config" ] 321401458bSopenharmony_ci 331401458bSopenharmony_ci public_configs = [ ":hisysevent_easy_config" ] 341401458bSopenharmony_ci 351401458bSopenharmony_ci sources = [ 361401458bSopenharmony_ci "easy_event_builder.c", 371401458bSopenharmony_ci "easy_event_encoder.c", 381401458bSopenharmony_ci "easy_socket_writer.c", 391401458bSopenharmony_ci "easy_util.c", 401401458bSopenharmony_ci "hisysevent_easy.c", 411401458bSopenharmony_ci ] 421401458bSopenharmony_ci 431401458bSopenharmony_ci part_name = "hisysevent" 441401458bSopenharmony_ci 451401458bSopenharmony_ci subsystem_name = "hiviewdfx" 461401458bSopenharmony_ci} 47