From c1de55d83a7e7c984aa0ea9bff9d3122946e05c6 Mon Sep 17 00:00:00 2001 From: chengjinsong2 Date: Thu, 5 Jan 2023 01:06:52 -0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9L0=E6=8E=A5=E5=8F=A3=E4=B8=8D?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E5=8F=8A=E9=83=A8=E5=88=86L0=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chengjinsong2 --- services/source/BUILD.gn | 3 +++ services/source/system_init.c | 1 + 2 files changed, 4 insertions(+) diff --git a/services/source/BUILD.gn b/services/source/BUILD.gn index 3021a7b..4b7b87c 100644 --- a/services/source/BUILD.gn +++ b/services/source/BUILD.gn @@ -19,11 +19,14 @@ static_library("bootstrap") { "../source", "//foundation/systemabilitymgr/samgr_lite/interfaces/kits/samgr", "//commonlibrary/utils_lite/include", + "//base/startup/init/interfaces/innerkits", ] if (ohos_kernel_type == "liteos_m" || ohos_kernel_type == "uniproton") { include_dirs += [] } else if (ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") { include_dirs += [ "//third_party/bounds_checking_function/include" ] } + + deps = [ "//base/startup/init/interfaces/innerkits:libbegetutil" ] cflags = [ "-Wall" ] } diff --git a/services/source/system_init.c b/services/source/system_init.c index fd66948..4fabc27 100644 --- a/services/source/system_init.c +++ b/services/source/system_init.c @@ -25,4 +25,5 @@ void OHOS_SystemInit(void) SYS_INIT(feature); MODULE_INIT(run); SAMGR_Bootstrap(); + LiteParamService(); } -- Gitee