部件独立编译整改

Signed-off-by: zhaohang <zhaohang44@huawei.com>
This commit is contained in:
zhaohang
2024-02-29 10:31:12 +08:00
parent f2bf926573
commit 8a94f28f08
2 changed files with 18 additions and 8 deletions
+4
View File
@@ -48,6 +48,8 @@ if (defined(ohos_lite)) {
ohos_static_library("libsec_static") {
sources = libsec_sources
all_dependent_configs = [ ":libsec_public_config" ]
public_configs = [ ":libsec_public_config" ]
cflags = [
"-D_INC_STRING_S",
"-D_INC_WCHAR_S",
@@ -63,6 +65,8 @@ if (defined(ohos_lite)) {
ohos_shared_library("libsec_shared") {
sources = libsec_sources
all_dependent_configs = [ ":libsec_public_config" ]
public_configs = [ ":libsec_public_config" ]
cflags = [
"-D_INC_STRING_S",
"-D_INC_WCHAR_S",
+14 -8
View File
@@ -14,7 +14,11 @@
"subsystem": "thirdparty",
"syscap": [],
"features": [],
"adapted_system_type": [ "mini", "small", "standard" ],
"adapted_system_type": [
"mini",
"small",
"standard"
],
"rom": "",
"ram": "",
"deps": {
@@ -22,14 +26,16 @@
"third_party": []
},
"build": {
"sub_component": [ "//third_party/bounds_checking_function:libsec_shared" ],
"sub_component": [
"//third_party/bounds_checking_function:libsec_shared"
],
"inner_kits": [
{
"name": "//third_party/bounds_checking_function:libsec_shared",
"header": {
"header_files": [
"securec.h",
"securectype.h"
"header_files": [
"securec.h",
"securectype.h"
],
"header_base": "//third_party/bounds_checking_function/include"
}
@@ -37,9 +43,9 @@
{
"name": "//third_party/bounds_checking_function:libsec_static",
"header": {
"header_files": [
"securec.h",
"securectype.h"
"header_files": [
"securec.h",
"securectype.h"
],
"header_base": "//third_party/bounds_checking_function/include"
}