diff --git a/build_lite/BUILD.gn b/build_lite/BUILD.gn index 02d9254e4a4730895ff16673746359ccb2abb5dc..2a9c6f7cf8ad2de341bbbd3b91d39f920d071129 100644 --- a/build_lite/BUILD.gn +++ b/build_lite/BUILD.gn @@ -78,6 +78,7 @@ lite_component("acts_component") { all_features += [ "//test/xts/acts/utils_lite/kv_store_posix:ActsKvStoreTest", "//test/xts/acts/startup_lite/syspara_posix:ActsParameterTest", + "//test/xts/acts/startup_lite/bootstrap_posix:ActsBootstrapTest", "//test/xts/acts/security_lite/datahuks_posix:ActsSecurityDataTest", #"//test/xts/acts/multimedia_lite/camera_lite_posix/camera_native:ActsMediaCameraTest", #"//test/xts/acts/multimedia_lite/media_lite_posix/player_native:ActsMediaPlayerTest", diff --git a/startup_lite/bootstrap_posix/BUILD.gn b/startup_lite/bootstrap_posix/BUILD.gn index fcb1073738c51fbdbb7f4e3cbf0a9c0cb4c5614d..317f268113d5d8eb88057a09a31a8e3d6e8a5435 100755 --- a/startup_lite/bootstrap_posix/BUILD.gn +++ b/startup_lite/bootstrap_posix/BUILD.gn @@ -26,10 +26,15 @@ hcpptest_suite("ActsBootstrapTest") { "//third_party/bounds_checking_function/include/", "//foundation/distributedschedule/samgr_lite/interfaces/kits/samgr", ] - cflags = [ "-Wno-error" ] - + deps = [ "//foundation/distributedschedule/samgr_lite/samgr:samgr", "//third_party/bounds_checking_function:libsec_shared", ] + cflags = [ "-Wno-error" ] + ldflags = [ + "-lstdc++", + "-lm", + "-lpthread", + ] }