11401458bSopenharmony_ci# Copyright (C) 2023 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_ciohos_shared_library("hisysevent_c_wrapper") { 171401458bSopenharmony_ci include_dirs = [ 181401458bSopenharmony_ci "./include", 191401458bSopenharmony_ci "../../../interfaces/native/innerkits/hisysevent/include", 201401458bSopenharmony_ci "../../../interfaces/native/innerkits/hisysevent_manager/include", 211401458bSopenharmony_ci ] 221401458bSopenharmony_ci 231401458bSopenharmony_ci sources = [ 241401458bSopenharmony_ci "./source/hisysevent_c_wrapper.cpp", 251401458bSopenharmony_ci "./source/hisysevent_rust_listener.cpp", 261401458bSopenharmony_ci "./source/hisysevent_rust_manager.cpp", 271401458bSopenharmony_ci "./source/hisysevent_rust_querier.cpp", 281401458bSopenharmony_ci ] 291401458bSopenharmony_ci 301401458bSopenharmony_ci deps = [ 311401458bSopenharmony_ci "../../../interfaces/native/innerkits/hisysevent:libhisysevent", 321401458bSopenharmony_ci "../../../interfaces/native/innerkits/hisysevent_manager:libhisyseventmanager", 331401458bSopenharmony_ci ] 341401458bSopenharmony_ci 351401458bSopenharmony_ci external_deps = [ 361401458bSopenharmony_ci "c_utils:utils", 371401458bSopenharmony_ci "hilog:libhilog", 381401458bSopenharmony_ci ] 391401458bSopenharmony_ci 401401458bSopenharmony_ci output_extension = "so" 411401458bSopenharmony_ci 421401458bSopenharmony_ci part_name = "hisysevent" 431401458bSopenharmony_ci subsystem_name = "hiviewdfx" 441401458bSopenharmony_ci} 45