startup_init/bundle.json
handyohos cce477f89f feat: add plugin engine for init.
1)通过ohos_native_stub_library为init提供libinit_plugin_engine打桩库,解决插件的编译链接问题。
2)通过ohos_native_stub_versionscript为init进程export开放API供插件调用。
3)通过libinit_stub_empty创建空的so库解决dlopen插件时找不到库的问题。

Signed-off-by: handyohos <zhangxiaotian@huawei.com>
Change-Id: I631723ce7a388d5f2067edf12068f7eb1e4c21da
2022-04-22 09:22:01 +08:00

98 lines
4.0 KiB
JSON
Executable File

{
"name": "@ohos/startup_init_lite",
"description": "ohos init process",
"homePage": "https://gitee.com/openharmony",
"version": "3.1",
"license": "Apache License 2.0",
"repository": "https://gitee.com/openharmony/startup_init_lite",
"publishAs": "code-segment",
"segment": {
"destPath": "base/startup/init_lite"
},
"dirs": {},
"scripts": {},
"component": {
"name": "init",
"subsystem": "startup",
"adapted_system_type": [
"standard"
],
"rom": "",
"ram": "",
"deps": {
"components": [
"selinux",
"ipc",
"safwk",
"samgr_standard",
"utils_base",
"profiler"
],
"third_party": [
"cJSON",
"bounds_checking_function",
"selinux"
]
},
"build": {
"sub_component": [
"//base/startup/init_lite/services:startup_init",
"//base/startup/init_lite/ueventd:startup_ueventd",
"//base/startup/init_lite/watchdog:watchdog",
"//base/startup/init_lite/services/begetctl:begetctl",
"//base/startup/init_lite/services/begetctl:paramshell",
"//base/startup/init_lite/services/plugin:plugin",
"//base/startup/init_lite/interfaces/innerkits:libbegetutil",
"//base/startup/init_lite/interfaces/kits:deviceinfo_ndk",
"//base/startup/init_lite/interfaces/innerkits:libbeget_proxy",
"//base/startup/init_lite/interfaces/innerkits/file:libfile",
"//base/startup/init_lite/interfaces/innerkits/socket:libsocket",
"//base/startup/init_lite/services/loopevent:loopevent",
"//base/startup/init_lite/services/init/plugin_engine:libinit_plugin_engine",
"//base/startup/init_lite/services/init/plugin_engine:libinit_stub_empty",
"//base/startup/init_lite/device_info:device_info_group",
"//base/startup/init_lite/interfaces/innerkits/sandbox:libsandbox"
],
"inner_kits": [
{
"header": {
"header_base": "//base/startup/init_lite/interfaces/innerkits/include/",
"header_files": [
"init_socket.h",
"init_file.h",
"fs_manager/fs_manager.h",
"init_reboot.h",
"service_control.h",
"beget_ext.h",
"systemcapability.h"
]
},
"name": "//base/startup/init_lite/interfaces/innerkits:libbegetutil"
},
{
"header": {
"header_base": "//base/startup/init_lite/interfaces/innerkits/include/",
"header_files": [
"service_watcher.h"
]
},
"name": "//base/startup/init_lite/interfaces/innerkits:libbeget_proxy"
},
{
"header": {
"header_base": "//base/startup/init_lite/services/init/plugin_engine/include",
"header_files": [
"init_plugin_engine.h"
]
},
"name": "//base/startup/init_lite/services/init/plugin_engine:libinit_plugin_engine"
}
],
"test": [
"//base/startup/init_lite/test/unittest:init_test",
"//base/startup/init_lite/test/fuzztest:fuzztest"
]
}
}
}