提交 a04ae681 编写于 作者: X xionglei6

init: fix bugs

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 f98b0e74
...@@ -13,8 +13,7 @@ ...@@ -13,8 +13,7 @@
import("//build/ohos.gni") import("//build/ohos.gni")
ohos_static_library("libfile") { ohos_static_library("libfile") {
sources = sources = [ "//base/startup/init_lite/interfaces/innerkits/file/init_file.c" ]
[ "//base/startup/init_lite/interfaces/innerkits/file/init_file.c" ]
include_dirs = [ include_dirs = [
"//base/startup/init_lite/interfaces/innerkits/include", "//base/startup/init_lite/interfaces/innerkits/include",
......
...@@ -16,9 +16,9 @@ init_common_sources = [ ...@@ -16,9 +16,9 @@ init_common_sources = [
"init/init_common_cmds.c", "init/init_common_cmds.c",
"init/init_common_service.c", "init/init_common_service.c",
"init/init_config.c", "init/init_config.c",
"init/init_service_file.c",
"init/init_service_manager.c", "init/init_service_manager.c",
"init/init_service_socket.c", "init/init_service_socket.c",
"init/init_service_file.c",
"init/main.c", "init/main.c",
"log/init_log.c", "log/init_log.c",
"utils/init_utils.c", "utils/init_utils.c",
...@@ -167,9 +167,9 @@ if (defined(ohos_lite)) { ...@@ -167,9 +167,9 @@ if (defined(ohos_lite)) {
":init", ":init",
":init_etc", ":init_etc",
"//base/startup/init_lite/interfaces/innerkits/dynamic_service:dynamic_service", "//base/startup/init_lite/interfaces/innerkits/dynamic_service:dynamic_service",
"//base/startup/init_lite/interfaces/innerkits/file:libfile",
"//base/startup/init_lite/interfaces/innerkits/fs_manager:libfsmanager_shared", "//base/startup/init_lite/interfaces/innerkits/fs_manager:libfsmanager_shared",
"//base/startup/init_lite/interfaces/innerkits/socket:libsocket", "//base/startup/init_lite/interfaces/innerkits/socket:libsocket",
"//base/startup/init_lite/interfaces/innerkits/file:libfile",
"//base/startup/init_lite/services/cmds/reboot:reboot", "//base/startup/init_lite/services/cmds/reboot:reboot",
"//base/startup/init_lite/services/cmds/service_control:service_control", "//base/startup/init_lite/services/cmds/service_control:service_control",
"//base/startup/init_lite/services/param:param", "//base/startup/init_lite/services/param:param",
......
...@@ -32,17 +32,17 @@ config("utest_config") { ...@@ -32,17 +32,17 @@ config("utest_config") {
ohos_unittest("init_ut") { ohos_unittest("init_ut") {
module_out_path = "startup/init" module_out_path = "startup/init"
sources = [ sources = [
"//base/startup/init_lite/interfaces/innerkits/file/init_file.c",
"//base/startup/init_lite/interfaces/innerkits/fs_manager/fstab.c", "//base/startup/init_lite/interfaces/innerkits/fs_manager/fstab.c",
"//base/startup/init_lite/interfaces/innerkits/fs_manager/fstab_mount.c", "//base/startup/init_lite/interfaces/innerkits/fs_manager/fstab_mount.c",
"//base/startup/init_lite/interfaces/innerkits/file/init_file.c",
"//base/startup/init_lite/services/init/adapter/init_adapter.c", "//base/startup/init_lite/services/init/adapter/init_adapter.c",
"//base/startup/init_lite/services/init/init_capability.c", "//base/startup/init_lite/services/init/init_capability.c",
"//base/startup/init_lite/services/init/init_common_cmds.c", "//base/startup/init_lite/services/init/init_common_cmds.c",
"//base/startup/init_lite/services/init/init_common_service.c", "//base/startup/init_lite/services/init/init_common_service.c",
"//base/startup/init_lite/services/init/init_config.c", "//base/startup/init_lite/services/init/init_config.c",
"//base/startup/init_lite/services/init/init_service_file.c",
"//base/startup/init_lite/services/init/init_service_manager.c", "//base/startup/init_lite/services/init/init_service_manager.c",
"//base/startup/init_lite/services/init/init_service_socket.c", "//base/startup/init_lite/services/init/init_service_socket.c",
"//base/startup/init_lite/services/init/init_service_file.c",
"//base/startup/init_lite/services/init/standard/device.c", "//base/startup/init_lite/services/init/standard/device.c",
"//base/startup/init_lite/services/init/standard/init.c", "//base/startup/init_lite/services/init/standard/init.c",
"//base/startup/init_lite/services/init/standard/init_cmds.c", "//base/startup/init_lite/services/init/standard/init_cmds.c",
......
...@@ -43,6 +43,7 @@ if (defined(ohos_lite)) { ...@@ -43,6 +43,7 @@ if (defined(ohos_lite)) {
"//base/startup/init_lite/services/init/init_common_cmds.c", "//base/startup/init_lite/services/init/init_common_cmds.c",
"//base/startup/init_lite/services/init/init_common_service.c", "//base/startup/init_lite/services/init/init_common_service.c",
"//base/startup/init_lite/services/init/init_config.c", "//base/startup/init_lite/services/init/init_config.c",
"//base/startup/init_lite/services/init/init_service_file.c",
"//base/startup/init_lite/services/init/init_service_manager.c", "//base/startup/init_lite/services/init/init_service_manager.c",
"//base/startup/init_lite/services/init/init_service_socket.c", "//base/startup/init_lite/services/init/init_service_socket.c",
"//base/startup/init_lite/services/init/lite/init.c", "//base/startup/init_lite/services/init/lite/init.c",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册