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

correct part and subsystem name

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