From 878b68b29521ee34f58d266533b76fc5a86ca38d Mon Sep 17 00:00:00 2001 From: Caoruihong Date: Tue, 15 Jun 2021 10:16:50 +0800 Subject: [PATCH] chore: add deps on posix if kernel is liteos_m depending on //kernel/liteos_m/kal/posix Signed-off-by: Caoruihong Change-Id: I5e538649c7baca2e46d7367dddf7f8ed734cdb05 --- BUILD.gn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index 4760e5713..1397c8b85 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -174,5 +174,8 @@ if (ohos_build_type == "debug") { sources = mbedtls_sources output_name = "mbedtls_gt" public_configs = [ ":mbedtls_profile_test" ] + if (ohos_kernel_type == "liteos_m") { + deps = [ "//kernel/liteos_m/kal/posix" ] + } } } -- Gitee