1# Copyright (c) 2021 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. 13import("//build/ohos.gni") 14 15ohos_static_library("distributeddata_broadcaster_static") { 16 sources = [ 17 "src/broadcast_sender.cpp", 18 "src/broadcast_sender_impl.cpp", 19 ] 20 21 include_dirs = [ 22 "../include/broadcaster", 23 "../include/log", 24 "./src", 25 "//commonlibrary/c_utils/base/include", 26 "//foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include", 27 "//foundation/distributeddatamgr/kv_store/frameworks/common", 28 ] 29 30 cflags_cc = [ "-fvisibility=hidden" ] 31 32 external_deps = [ 33 # "ces:libcommonevent", 34 "ability_base:base", 35 "ability_base:want", 36 "bundle_framework:appexecfwk_base", 37 "c_utils:utils", 38 "common_event_service:cesfwk_innerkits", 39 "hiviewdfx_hilog_native:libhilog", 40 "ipc:ipc_core", 41 ] 42 subsystem_name = "distributeddatamgr" 43 part_name = "datamgr_service" 44} 45