提交 7b1fd86f 编写于 作者: T taiyi.pei

correct part and subsystem name

Signed-off-by: Ntaiyi.pei <peitaiyi@huawei.com>
上级 a43d234d
...@@ -14,11 +14,9 @@ ...@@ -14,11 +14,9 @@
# #
if (defined(ohos_lite)) { if (defined(ohos_lite)) {
import("//build/lite/config/component/lite_component.gni") import("//build/lite/config/component/lite_component.gni")
import("//build/lite/ndk/ndk.gni")
} else { } else {
import("//build/ohos.gni") import("//build/ohos.gni")
} }
import("libsec_src.gni") import("libsec_src.gni")
config("libsec_public_config") { config("libsec_public_config") {
...@@ -45,11 +43,6 @@ if (defined(ohos_lite)) { ...@@ -45,11 +43,6 @@ if (defined(ohos_lite)) {
group("sec_shared") { group("sec_shared") {
deps = [ ":libsec_shared" ] deps = [ ":libsec_shared" ]
} }
ndk_lib("libsec_ndk") {
lib_extension = ".so"
deps = [ ":sec_shared" ]
head_files = [ "include" ]
}
} else { } else {
ohos_static_library("libsec_static") { ohos_static_library("libsec_static") {
sources = libsec_sources sources = libsec_sources
...@@ -63,11 +56,12 @@ if (defined(ohos_lite)) { ...@@ -63,11 +56,12 @@ if (defined(ohos_lite)) {
"-D_INC_STDLIB_S", "-D_INC_STDLIB_S",
"-D_INC_MEMORY_S", "-D_INC_MEMORY_S",
] ]
part_name = "bounds_checking_function"
subsystem_name = "thirdparty"
} }
ohos_shared_library("libsec_shared") { ohos_shared_library("libsec_shared") {
sources = libsec_sources sources = libsec_sources
public_configs = [ ":libsec_public_config" ] public_configs = [ ":libsec_public_config" ]
subsystem_name = "securec"
cflags = [ cflags = [
"-D_INC_STRING_S", "-D_INC_STRING_S",
"-D_INC_WCHAR_S", "-D_INC_WCHAR_S",
...@@ -77,7 +71,8 @@ if (defined(ohos_lite)) { ...@@ -77,7 +71,8 @@ if (defined(ohos_lite)) {
"-D_INC_STDLIB_S", "-D_INC_STDLIB_S",
"-D_INC_MEMORY_S", "-D_INC_MEMORY_S",
] ]
part_name = "thirdparty_bounds_checking_function" part_name = "bounds_checking_function"
subsystem_name = "thirdparty"
install_images = [ install_images = [
"system", "system",
"updater", "updater",
......
...@@ -10,11 +10,11 @@ ...@@ -10,11 +10,11 @@
"dirs": {}, "dirs": {},
"scripts": {}, "scripts": {},
"component": { "component": {
"name": "thirdparty_bounds_checking_function", "name": "bounds_checking_function",
"subsystem": "securec", "subsystem": "thirdparty",
"syscap": [], "syscap": [],
"features": [], "features": [],
"adapted_system_type": [], "adapted_system_type": [ "mini", "small", "standard" ],
"rom": "", "rom": "",
"ram": "", "ram": "",
"deps": { "deps": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册