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_rust_shared_library("hisysevent_rust") { 171401458bSopenharmony_ci sources = [ 181401458bSopenharmony_ci "src/lib.rs", 191401458bSopenharmony_ci "src/macros.rs", 201401458bSopenharmony_ci "src/sys_event.rs", 211401458bSopenharmony_ci "src/sys_event_manager.rs", 221401458bSopenharmony_ci "src/utils.rs", 231401458bSopenharmony_ci ] 241401458bSopenharmony_ci 251401458bSopenharmony_ci deps = [ 261401458bSopenharmony_ci "../../../frameworks/native/c_wrapper:hisysevent_c_wrapper", 271401458bSopenharmony_ci "../../native/innerkits/hisysevent:libhisysevent", 281401458bSopenharmony_ci "../../native/innerkits/hisysevent_manager:libhisyseventmanager", 291401458bSopenharmony_ci ] 301401458bSopenharmony_ci 311401458bSopenharmony_ci crate_name = "hisysevent" 321401458bSopenharmony_ci crate_type = "dylib" 331401458bSopenharmony_ci rustflags = [ "-Zstack-protector=all" ] 341401458bSopenharmony_ci 351401458bSopenharmony_ci part_name = "hisysevent" 361401458bSopenharmony_ci subsystem_name = "hiviewdfx" 371401458bSopenharmony_ci} 38