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

Merge pull request !35 from Zhaotianyu/20220705libsec
This commit is contained in:
openharmony_ci
2022-07-07 08:45:38 +00:00
committed by Gitee
+9 -9
View File
@@ -24,16 +24,16 @@ config("libsec_public_config") {
}
if (defined(ohos_lite)) {
lite_library("libsec_static") {
target_type = "static_library"
# When the kernel is liteos_m, use //kernel/liteos_m/kal/libsec/BUILD.gn to compile.
if (ohos_kernel_type != "liteos_m") {
sources = libsec_sources
} else {
sources = []
# When the kernel is liteos_m, use //kernel/liteos_m/kal/libsec/BUILD.gn to compile.
if (ohos_kernel_type == "liteos_m") {
group("libsec_static") {
}
} else {
lite_library("libsec_static") {
target_type = "static_library"
sources = libsec_sources
public_configs = [ ":libsec_public_config" ]
}
public_configs = [ ":libsec_public_config" ]
}
lite_library("libsec_shared") {
target_type = "shared_library"