未验证 提交 576e76a8 编写于 作者: O openharmony_ci 提交者: Gitee

!35 refactor: liteos_m形态下安全函数库使用内核的libsec

Merge pull request !35 from Zhaotianyu/20220705libsec
...@@ -24,16 +24,16 @@ config("libsec_public_config") { ...@@ -24,16 +24,16 @@ config("libsec_public_config") {
} }
if (defined(ohos_lite)) { if (defined(ohos_lite)) {
lite_library("libsec_static") { # When the kernel is liteos_m, use //kernel/liteos_m/kal/libsec/BUILD.gn to compile.
target_type = "static_library" if (ohos_kernel_type == "liteos_m") {
group("libsec_static") {
# When the kernel is liteos_m, use //kernel/liteos_m/kal/libsec/BUILD.gn to compile. }
if (ohos_kernel_type != "liteos_m") { } else {
lite_library("libsec_static") {
target_type = "static_library"
sources = libsec_sources sources = libsec_sources
} else { public_configs = [ ":libsec_public_config" ]
sources = []
} }
public_configs = [ ":libsec_public_config" ]
} }
lite_library("libsec_shared") { lite_library("libsec_shared") {
target_type = "shared_library" target_type = "shared_library"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册