diff --git a/services/source/BUILD.gn b/services/source/BUILD.gn index 3021a7bc05cbad85a81f9595ae29c46dd5bf7d92..4b7b87c28417d7cfbe06a005510d13b1d912c370 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 fd6694837e5150bdfec2dc575aecb6182d9de752..4fabc27419597ef4fe022d7288d7596ca184335f 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(); }