提交 36508ac5 编写于 作者: X xionglei6

init: fix libs

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 df15f9fa
......@@ -31,7 +31,7 @@ ohos_static_library("libfile_static") {
deps = service_file_deps
}
ohos_shared_library("libfile_shared") {
ohos_shared_library("libfile") {
sources = service_file_sources
include_dirs = service_file_include
deps = service_file_deps
......
......@@ -25,8 +25,16 @@ service_reboot_deps = [
"//third_party/bounds_checking_function:libsec_static",
]
ohos_static_library("libreboot") {
ohos_static_library("libreboot_static") {
sources = service_reboot_sources
include_dirs = service_reboot_include
deps = service_reboot_deps
}
ohos_shared_library("libreboot") {
sources = service_reboot_sources
include_dirs = service_reboot_include
deps = service_reboot_deps
part_name = "init"
install_images = [ "system" ]
}
......@@ -167,7 +167,7 @@ if (defined(ohos_lite)) {
":init",
":init_etc",
"//base/startup/init_lite/interfaces/innerkits/dynamic_service:dynamic_service",
"//base/startup/init_lite/interfaces/innerkits/file:libfile_shared",
"//base/startup/init_lite/interfaces/innerkits/file:libfile",
"//base/startup/init_lite/interfaces/innerkits/fs_manager:libfsmanager_shared",
"//base/startup/init_lite/interfaces/innerkits/reboot:libreboot",
"//base/startup/init_lite/interfaces/innerkits/socket:libsocket",
......
......@@ -20,7 +20,9 @@ ohos_executable("reboot") {
"//base/startup/init_lite/services/include/param/",
"//third_party/bounds_checking_function/include",
]
deps = [ "//base/startup/init_lite/interfaces/innerkits/reboot:libreboot" ]
deps = [
"//base/startup/init_lite/interfaces/innerkits/reboot:libreboot_static",
]
install_enable = true
part_name = "init"
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册