提交 99c11354 编写于 作者: O openharmony_ci 提交者: Gitee

!761 linux内核的L1,新增huks测试套

Merge pull request !761 from aaronwangjun/dev8
...@@ -20,7 +20,10 @@ group("securitytest") { ...@@ -20,7 +20,10 @@ group("securitytest") {
"//test/xts/acts/security_lite/permission_posix/pms:ActsPMSTest", "//test/xts/acts/security_lite/permission_posix/pms:ActsPMSTest",
] ]
} else if (ohos_kernel_type == "linux") { } 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") { } else if (ohos_kernel_type == "liteos_m") {
deps = [ "//test/xts/acts/security_lite/huks/liteos_m_adapter:ActsHuksHalFunctionTest" ] deps = [ "//test/xts/acts/security_lite/huks/liteos_m_adapter:ActsHuksHalFunctionTest" ]
} }
......
...@@ -25,6 +25,7 @@ config("hilog_lite_dir") { ...@@ -25,6 +25,7 @@ config("hilog_lite_dir") {
config("huks_test_common_dir") { config("huks_test_common_dir") {
include_dirs = [ include_dirs = [
"//base/security/huks/interfaces/innerkits/huks_standard/main/include", "//base/security/huks/interfaces/innerkits/huks_standard/main/include",
"//third_party/bounds_checking_function/include",
"include", "include",
] ]
} }
...@@ -60,7 +61,10 @@ static_library("huks_test_common") { ...@@ -60,7 +61,10 @@ static_library("huks_test_common") {
deps += [ "//base/hiviewdfx/hilog_lite/frameworks/mini:hilog_lite" ] deps += [ "//base/hiviewdfx/hilog_lite/frameworks/mini:hilog_lite" ]
} else if (ohos_kernel_type == "liteos_a") { } else if (ohos_kernel_type == "liteos_a") {
configs += [ ":hilog_dir" ] 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",
]
} }
} }
} }
...@@ -48,6 +48,7 @@ hcpptest_suite("ActsHuksLiteFunctionTest") { ...@@ -48,6 +48,7 @@ hcpptest_suite("ActsHuksLiteFunctionTest") {
deps = [ deps = [
"//base/security/huks/interfaces/innerkits/huks_lite:huks_3.0_sdk", "//base/security/huks/interfaces/innerkits/huks_lite:huks_3.0_sdk",
"//test/xts/acts/security_lite/huks/common:huks_test_common", "//test/xts/acts/security_lite/huks/common:huks_test_common",
"//third_party/bounds_checking_function:libsec_shared",
] ]
cflags = [ "-Wno-error" ] cflags = [ "-Wno-error" ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册