From f1d52f6d961c505c3b5ba2b322c7e5a3875ffd9a Mon Sep 17 00:00:00 2001 From: cheng_jinsong Date: Mon, 12 Jun 2023 09:47:27 +0800 Subject: [PATCH] open vendor Signed-off-by: cheng_jinsong --- services/modules/init_context/BUILD.gn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/modules/init_context/BUILD.gn b/services/modules/init_context/BUILD.gn index 33e266cc..58d6ea75 100644 --- a/services/modules/init_context/BUILD.gn +++ b/services/modules/init_context/BUILD.gn @@ -31,12 +31,13 @@ ohos_shared_library("init_context") { external_deps = [ "init:libinit_module_engine" ] + defines = [ "INIT_SUPPORT_CHIPSET_INIT" ] if (build_selinux) { external_deps += [ "selinux:libload_policy", "selinux:librestorecon", ] - defines = [ "WITH_SELINUX" ] + defines += [ "WITH_SELINUX" ] } deps = [ @@ -60,6 +61,7 @@ config("initcontext_static_config") { ohos_source_set("initcontext_static") { sources = [ "init_context_static.c" ] include_dirs = comm_include + defines = [ "INIT_SUPPORT_CHIPSET_INIT" ] public_configs = [ ":initcontext_static_config" ] public_configs += [ "../../../interfaces/innerkits/init_module_engine:init_module_engine_exported_config" ] deps = [ "//third_party/bounds_checking_function:libsec_shared" ] -- GitLab