提交 7ae03f3a 编写于 作者: A arvinzzz

refactor: libsec_static复用liteos_m的编译

close: #I5FNP3
Signed-off-by: Narvinzzz <zhaotianyu9@huawei.com>
Change-Id: I6b8724cd46e48f3f18f11b5dd09a5acee1edc049
上级 a43d234d
...@@ -26,16 +26,16 @@ config("libsec_public_config") { ...@@ -26,16 +26,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.
先完成此消息的编辑!
想要评论请 注册