diff --git a/interfaces/innerkits/BUILD.gn b/interfaces/innerkits/BUILD.gn index 68c8fa4696537cd982a08d2b2a44e7dda4ff8162..5730ca563522cf8a93b3b444ac160200cf656f5d 100755 --- a/interfaces/innerkits/BUILD.gn +++ b/interfaces/innerkits/BUILD.gn @@ -408,6 +408,21 @@ if (defined(ohos_lite)) { install_images = [ "system" ] } + if (default_toolchain == current_toolchain) { + ohos_prebuilt_shared_library("libbegetutil-pub-sdk") { + source = "${root_out_dir}/startup/init/libbegetutil.z.so" + symlink_ext = [ "lib64/chipset-pub-sdk/libbegetutil.z.so" ] + deps = [ "//base/startup/init/interfaces/innerkits:libbegetutil" ] + install_enable = true + install_images = [ + system_base_dir, + ] + relative_install_dir = "chipset-sdk-sp" + part_name = "init" + subsystem_name = "startup" + } + } + ohos_static_library("libbegetutil_static") { sources = syspara_sources sources += [ @@ -456,6 +471,9 @@ group("innergroup") { "init_module_engine:modulegroup", "socket:libsocket", ] + if (default_toolchain == current_toolchain) { + deps += [ ":libbegetutil-pub-sdk" ] + } } else { } }