1 Star 0 Fork 110

openharmony-sync/distributedschedule_dms_fwk_lite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BUILD.gn 2.83 KB
一键复制 编辑 原始数据 按行查看 历史
zjucx 提交于 2021-07-31 11:37 . fix reviewbot
# Copyright (c) 2020 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build/lite/config/component/lite_component.gni")
import("//build/lite/config/subsystem/aafwk/path.gni")
if (ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") {
lite_library("dmslite") {
target_type = "shared_library"
cflags = [ "-Wall" ]
cflags_cc = cflags
defines = [
"_GNU_SOURCE",
"OHOS_APPEXECFWK_BMS_BUNDLEMANAGER",
]
sources = [
"source/dmslite.c",
"source/dmslite_famgr.c",
"source/dmslite_feature.c",
"source/dmslite_msg_handler.c",
"source/dmslite_packet.c",
"source/dmslite_parser.c",
"source/dmslite_permission.c",
"source/dmslite_session.c",
"source/dmslite_tlv_common.c",
]
include_dirs = [
"include",
"interfaces/innerkits",
"${aafwk_lite_path}/interfaces/innerkits/abilitymgr_lite",
"${aafwk_lite_path}/interfaces/kits/ability_lite",
"${aafwk_lite_path}/interfaces/kits/want_lite",
"${appexecfwk_lite_path}/interfaces/kits/bundle_lite",
"${appexecfwk_lite_path}/interfaces/innerkits/bundlemgr_lite",
"//foundation/communication/dsoftbus/interfaces/kits/bus_center",
"//foundation/communication/dsoftbus/interfaces/kits/common",
"//foundation/communication/dsoftbus/interfaces/kits/transport",
"//foundation/distributedschedule/samgr_lite/interfaces/innerkits",
"//foundation/distributedschedule/samgr_lite/interfaces/kits/samgr",
"//foundation/distributedschedule/samgr_lite/interfaces/kits/registry",
"//third_party/bounds_checking_function/include",
"//third_party/cJSON",
"//utils/native/lite/include",
]
deps = []
public_deps = [
"${aafwk_lite_path}/frameworks/abilitymgr_lite:aafwk_abilityManager_lite",
"//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
"//foundation/communication/dsoftbus/sdk:softbus_client",
"//foundation/distributedschedule/samgr_lite/samgr:samgr",
"//third_party/bounds_checking_function:libsec_shared",
]
}
lite_component("dtbschedmgr") {
features = [ ":dmslite" ]
}
generate_notice_file("dtbschedmgr_notice_file") {
module_name = "dtbschedmgr"
module_source_dir_list = [
"//third_party/bounds_checking_function",
"//third_party/cJSON",
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony-sync/distributedschedule_dms_fwk_lite.git
git@gitee.com:openharmony-sync/distributedschedule_dms_fwk_lite.git
openharmony-sync
distributedschedule_dms_fwk_lite
distributedschedule_dms_fwk_lite
master

搜索帮助