From 5b89c87a5ba2f890243604c56c386c3fa15b8aaf Mon Sep 17 00:00:00 2001 From: liujialiang Date: Thu, 26 May 2022 11:15:34 +0800 Subject: [PATCH] Delete module of securec Signed-off-by: liujialiang Change-Id: I92460f492197def2d78b378ef0d42cd747da31c7 --- base/BUILD.gn | 46 ---------------------------------------------- bundle.json | 3 +-- 2 files changed, 1 insertion(+), 48 deletions(-) diff --git a/base/BUILD.gn b/base/BUILD.gn index 81edf0a..edc36b8 100644 --- a/base/BUILD.gn +++ b/base/BUILD.gn @@ -133,50 +133,4 @@ ohos_shared_library("utils") { "updater", ] } - -ohos_static_library("utilsecurec") { - sources = securec_sources - configs = [ - ":utils_config", - ":private_securec_config", - ] - public_configs = [ ":static_utils_config" ] - subsystem_name = "utils" - part_name = "utils_base" -} - -ohos_static_library("utilsecurec_ace_allplatforms") { - sources = [ "src/securec/vsnprintf_s_p.c" ] - if (current_os == "mingw") { - sources += [ - "src/securec/memset_s.c", - "src/securec/securecutil.c", - "src/securec/secureinput_w.c", - "src/securec/secureprintoutput_a.c", - "src/securec/secureprintoutput_w.c", - ] - cflags = [ "-Wno-inconsistent-dllimport" ] - } - configs = [ - ":utils_config", - ":private_securec_config", - ] - public_configs = [ ":static_utils_config" ] - subsystem_name = "utils" - part_name = "utils_base" -} - -ohos_shared_library("utilsecurec_shared") { - sources = securec_sources - configs = [ - ":utils_config", - ":private_securec_config", - ] - public_configs = [ ":utils_config" ] - part_name = "utils_base" - install_images = [ - "system", - "updater", - ] -} ############################################################################### diff --git a/bundle.json b/bundle.json index af07a31..e7b2f9c 100644 --- a/bundle.json +++ b/bundle.json @@ -21,8 +21,7 @@ }, "build": { "sub_component": [ - "//utils/native/base:utils", - "//utils/native/base:utilsecurec_shared" + "//utils/native/base:utils" ], "inner_kits": [ { -- Gitee