mirror of
https://github.com/openharmony/third_party_bounds_checking_function.git
synced 2026-07-01 22:44:05 -04:00
!35 refactor: liteos_m形态下安全函数库使用内核的libsec
Merge pull request !35 from Zhaotianyu/20220705libsec
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user