diff --git a/security_lite/BUILD.gn b/security_lite/BUILD.gn index c72652bbdddc13db3d1c0d04d2f616a23ae70395..99e76ab7088c035ddf6f8b1503e14b1bc2aa7779 100644 --- a/security_lite/BUILD.gn +++ b/security_lite/BUILD.gn @@ -20,7 +20,10 @@ group("securitytest") { "//test/xts/acts/security_lite/permission_posix/pms:ActsPMSTest", ] } else if (ohos_kernel_type == "linux") { - deps = [ "//test/xts/acts/security_lite/permission_posix/pms:ActsPMSTest" ] + deps = [ + "//test/xts/acts/security_lite/huks/liteos_a_adapter:Hukslitetest", + "//test/xts/acts/security_lite/permission_posix/pms:ActsPMSTest", + ] } else if (ohos_kernel_type == "liteos_m") { deps = [ "//test/xts/acts/security_lite/huks/liteos_m_adapter:ActsHuksHalFunctionTest" ] } diff --git a/security_lite/huks/common/BUILD.gn b/security_lite/huks/common/BUILD.gn index c5fe3235572260dbc4e514463c027601bd7648db..20ac185d03d9113fb1e18b972945c7952e9a8f12 100644 --- a/security_lite/huks/common/BUILD.gn +++ b/security_lite/huks/common/BUILD.gn @@ -25,6 +25,7 @@ config("hilog_lite_dir") { config("huks_test_common_dir") { include_dirs = [ "//base/security/huks/interfaces/innerkits/huks_standard/main/include", + "//third_party/bounds_checking_function/include", "include", ] } @@ -60,7 +61,10 @@ static_library("huks_test_common") { deps += [ "//base/hiviewdfx/hilog_lite/frameworks/mini:hilog_lite" ] } else if (ohos_kernel_type == "liteos_a") { configs += [ ":hilog_dir" ] - deps += [ "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared" ] + deps += [ + "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared", + "//third_party/bounds_checking_function:libsec_shared", + ] } } } diff --git a/security_lite/huks/liteos_a_adapter/BUILD.gn b/security_lite/huks/liteos_a_adapter/BUILD.gn index 1b440655da176666567844b59edaede05389b136..0256aae59d94daf05b7142379bb007e238b0929e 100644 --- a/security_lite/huks/liteos_a_adapter/BUILD.gn +++ b/security_lite/huks/liteos_a_adapter/BUILD.gn @@ -48,6 +48,7 @@ hcpptest_suite("ActsHuksLiteFunctionTest") { deps = [ "//base/security/huks/interfaces/innerkits/huks_lite:huks_3.0_sdk", "//test/xts/acts/security_lite/huks/common:huks_test_common", + "//third_party/bounds_checking_function:libsec_shared", ] cflags = [ "-Wno-error" ]