mirror of
https://gitee.com/openharmony/startup_init
synced 2024-12-29 22:36:03 +00:00
init: fix libs
Signed-off-by: xionglei6 <xionglei6@huawei.com>
This commit is contained in:
parent
df15f9fabb
commit
36508ac532
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user