3 Star 0 Fork 3

OpenHarmony / distributedschedule_safwk_lite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README_zh.md 2.96 KB
一键复制 编辑 原始数据 按行查看 历史
huangxiaolinabc123 提交于 2022-09-27 21:34 . modify md

公告: 因OpenHarmony部件设计规范化需求,2022.08月起distributedschedule_safwk_lite仓库更名为systemabilitymgr_safwk_lite,本仓库归档不在维护。 请前往systemabilitymgr_safwk_lite仓库,了解最新代码信息

轻量级系统服务框架部件

简介

safwklite模块负责提供基础服务运行的空进程。

系统架构

图 1 面向服务的架构

目录

分布式任务调度源代码目录结构如下表所示:

**表1 **主要源代码目录结构

名称

描述

safwk_lite

foundation进程实现

其中分布式任务调度safwk_lite组件的源代码目录结构如下:

├── BUILD.gn
├── readme.md
├── LICENSE
├── src
    └── main.c

使用

在foundation进程中添加服务

按照服务的模板写完服务后在BUILD.gn中添加依赖即可:

deps = [
  "${aafwk_lite_path}/services/abilitymgr_lite:abilityms",
  "${appexecfwk_lite_path}/services/bundlemgr_lite:bundlems",
  "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared",
  "//base/security/permission_lite/services/ipc_auth:ipc_auth_target",
  "//base/security/permission_lite/services/pms:pms_target",
  "//foundation/ability/dmsfwk_lite:dtbschedmgr",
  "//foundation/distributedschedule/samgr_lite/samgr_server:server",
]

相关仓

系统服务管理子系统

distributedschedule_safwk

distributedschedule_samgr

distributedschedule_safwk_lite

distributedschedule_samgr_lite

1
https://gitee.com/openharmony/distributedschedule_safwk_lite.git
git@gitee.com:openharmony/distributedschedule_safwk_lite.git
openharmony
distributedschedule_safwk_lite
distributedschedule_safwk_lite
master

搜索帮助