mirror of
https://github.com/openharmony/third_party_bounds_checking_function.git
synced 2026-07-01 22:44:05 -04:00
correct part and subsystem name
Signed-off-by: taiyi.pei <peitaiyi@huawei.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
+3
-3
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user