1# Copyright (C) 2023 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 16ohos_shared_library("hisysevent_c_wrapper") { 17 include_dirs = [ 18 "./include", 19 "../../../interfaces/native/innerkits/hisysevent/include", 20 "../../../interfaces/native/innerkits/hisysevent_manager/include", 21 ] 22 23 sources = [ 24 "./source/hisysevent_c_wrapper.cpp", 25 "./source/hisysevent_rust_listener.cpp", 26 "./source/hisysevent_rust_manager.cpp", 27 "./source/hisysevent_rust_querier.cpp", 28 ] 29 30 deps = [ 31 "../../../interfaces/native/innerkits/hisysevent:libhisysevent", 32 "../../../interfaces/native/innerkits/hisysevent_manager:libhisyseventmanager", 33 ] 34 35 external_deps = [ 36 "c_utils:utils", 37 "hilog:libhilog", 38 ] 39 40 output_extension = "so" 41 42 part_name = "hisysevent" 43 subsystem_name = "hiviewdfx" 44} 45