mirror of
https://github.com/openharmony/systemabilitymgr_safwk_lite.git
synced 2026-07-01 07:47:16 -04:00
24e33d6aa452efdc293b72e1e85d4bcfad21b339
Signed-off-by: huangxiaolinabc123 <huangxiaolin12@huawei.com> Change-Id: I1b95f66bdc8075d76e8b718b1b9ca8c70b770264
safwk_lite
Introduction
The safwk_lite module provides an empty process for running basic services.
Directory Structure
The following table describes the directory structure of the Distributed Scheduler.
Table 1 Directory structure of the major source code
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/systemabilitymgr/samgr_lite/samgr_server:server",
]
Repositories Involved
System Ability Management Subsystem
Description
Languages
C
100%