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: Nhandyohos <zhangxiaotian@huawei.com>
Change-Id: I631723ce7a388d5f2067edf12068f7eb1e4c21da
Showing
bundle.json
100644 → 100755
services/BUILD.gn
100644 → 100755
services/init/include/init_plugin_manager.h
100644 → 100755
services/init/standard/init_plugin_manager.c
100644 → 100755
services/plugin/BUILD.gn
100644 → 100755
services/plugin/bootchart/bootchart.c
100644 → 100755
test/plugintest/BUILD.gn
100644 → 100755
test/plugintest/plugin_param_cmd.c
100644 → 100755
文件模式从 100644 更改为 100755
test/plugintest/plugin_param_test.c
100644 → 100755
test/unittest/BUILD.gn
100644 → 100755
test/unittest/init/plugin_unittest.cpp
100644 → 100755
想要评论请 注册 或 登录