mirror of
https://github.com/openharmony/third_party_bounds_checking_function.git
synced 2026-07-01 22:44:05 -04:00
Adding compiling Configuration required for componentization
Signed-off-by: peilixia <peilixia1@h-partners.com>
This commit is contained in:
@@ -46,7 +46,7 @@ if (defined(ohos_lite)) {
|
||||
} else {
|
||||
ohos_static_library("libsec_static") {
|
||||
sources = libsec_sources
|
||||
public_configs = [ ":libsec_public_config" ]
|
||||
all_dependent_configs = [ ":libsec_public_config" ]
|
||||
cflags = [
|
||||
"-D_INC_STRING_S",
|
||||
"-D_INC_WCHAR_S",
|
||||
@@ -61,7 +61,7 @@ if (defined(ohos_lite)) {
|
||||
}
|
||||
ohos_shared_library("libsec_shared") {
|
||||
sources = libsec_sources
|
||||
public_configs = [ ":libsec_public_config" ]
|
||||
all_dependent_configs = [ ":libsec_public_config" ]
|
||||
cflags = [
|
||||
"-D_INC_STRING_S",
|
||||
"-D_INC_WCHAR_S",
|
||||
|
||||
+12
-1
@@ -23,7 +23,18 @@
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [ "//third_party/bounds_checking_function:libsec_shared" ],
|
||||
"inner_kits": [],
|
||||
"inner_kits": [
|
||||
{
|
||||
"name": "//third_party/bounds_checking_function:libsec_shared",
|
||||
"header": {
|
||||
"header_files": [
|
||||
"securec.h",
|
||||
"securectype.h"
|
||||
],
|
||||
"header_base": "//third_party/bounds_checking_function/include"
|
||||
}
|
||||
}
|
||||
],
|
||||
"test": []
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user