提交 e839c80b 编写于 作者: A arvinzzz

fix: 安全函数库重复编译

close: #I4LP5H
Signed-off-by: Narvinzzz <zhaotianyu9@huawei.com>
Change-Id: I80e02fa403874b89f8a3599dadc6d6482e363898
上级 27ffde54
......@@ -28,7 +28,11 @@ config("libsec_public_config") {
if (defined(ohos_lite)) {
lite_library("libsec_static") {
target_type = "static_library"
sources = libsec_sources
# 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
}
public_configs = [ ":libsec_public_config" ]
}
lite_library("libsec_shared") {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册