From bbabbdc676d922b32696444ab6081b05275913c8 Mon Sep 17 00:00:00 2001 From: "xiangren.yuan" Date: Wed, 19 Oct 2022 15:21:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DL1=E5=B0=8F=E5=9E=8B=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E4=B8=8BLinux=E5=86=85=E6=A0=B8=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xiangren.yuan --- frameworks/config_policy/BUILD.gn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frameworks/config_policy/BUILD.gn b/frameworks/config_policy/BUILD.gn index 5317390..e34537b 100644 --- a/frameworks/config_policy/BUILD.gn +++ b/frameworks/config_policy/BUILD.gn @@ -28,7 +28,9 @@ config("config_policy_config") { if (defined(ohos_lite)) { shared_library("configpolicy_util") { - defines = [ "OHOS_LITE" ] + if (ohos_kernel_type != "linux") { + defines = [ "OHOS_LITE" ] + } sources = config_policy_sources public_configs = [ ":config_policy_config" ] deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -- Gitee