3 Star 0 Fork 3

OpenHarmony / distributedschedule_safwk_lite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 2.97 KB
一键复制 编辑 原始数据 按行查看 历史
Annie_wang 提交于 2022-12-19 20:44 . update docs

NOTICE

The distributedschedule_safwk_lite repository is renamed systemabilitymgr_safwk_lite since August 2022. The distributedschedule_safwk_lite repository is archived and no longer maintained.

To obtain the latest code, go to systemabilitymgr_safwk_lite.

safwk_lite

Introduction

The safwk_lite module provides an empty process for running basic services.

Architecture

Figure 1 Service-oriented architecture

Directory Structure

The following table describes the directory structure of the Distributed Scheduler.

Table 1 Directory structure of the major source code

Directory

Description

safwk_lite

Implementation of the foundation process

The source code directory structure of the safwk_lite module is as follows:

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

Usage

Add a service to the foundation process.

After writing the service based on the service template, add the dependencies to the BUILD.gn file.

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",
]

Repositories Involved

safwk

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

搜索帮助