修复mac使用memcpy_c无法编译的问题

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: Ie574c638be59a1969712be6d39e8d7990339e345
This commit is contained in:
changjiaxing 2024-07-13 11:07:53 +08:00
parent ed0902e095
commit dbbc85d657
4 changed files with 17 additions and 2 deletions

View File

@ -66,7 +66,8 @@
"kv_store",
"napi",
"samgr",
"hisysevent"
"hisysevent",
"bounds_checking_function"
],
"third_party": [
"icu",

View File

@ -63,6 +63,8 @@ ohos_shared_library("napi_rdb") {
"//foundation/arkui/napi:ace_napi",
"//foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb:native_rdb",
]
external_deps = [ "bounds_checking_function:libsec_static" ]
} else {
if (is_ohos) {
branch_protector_ret = "pac_ret"
@ -99,6 +101,7 @@ ohos_shared_library("napi_rdb") {
"ability_runtime:abilitykit_native",
"ability_runtime:extensionkit_native",
"ability_runtime:napi_base_context",
"bounds_checking_function:libsec_shared",
"c_utils:utils",
"common_event_service:cesfwk_innerkits",
"hilog:libhilog",

View File

@ -76,6 +76,7 @@ if (is_ohos) {
"ability_runtime:abilitykit_native",
"ability_runtime:extensionkit_native",
"ability_runtime:napi_base_context",
"bounds_checking_function:libsec_shared",
"c_utils:utils",
"common_event_service:cesfwk_innerkits",
"eventhandler:libeventhandler",
@ -119,6 +120,8 @@ if (is_ohos) {
"//foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb:native_rdb",
]
external_deps = [ "bounds_checking_function:libsec_static" ]
subsystem_name = "distributeddatamgr"
part_name = "relational_store"
relative_install_dir = "module/data"
@ -152,6 +155,8 @@ if (is_ohos) {
"//foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb:native_rdb",
]
external_deps = [ "bounds_checking_function:libsec_static" ]
subsystem_name = "distributeddatamgr"
part_name = "relational_store"
relative_install_dir = "module/data"
@ -190,6 +195,8 @@ if (is_ohos) {
"//foundation/arkui/ace_engine/adapter/android/build:libarkui_android",
]
external_deps = [ "bounds_checking_function:libsec_static" ]
subsystem_name = "distributeddatamgr"
part_name = "relational_store"
}
@ -224,7 +231,10 @@ if (is_ohos) {
"//plugins/libs/napi:napi_ios",
]
external_deps = [ "c_utils:utils" ]
external_deps = [
"bounds_checking_function:libsec_static",
"c_utils:utils",
]
subsystem_name = "distributeddatamgr"
part_name = "relational_store"

View File

@ -57,6 +57,7 @@ ohos_shared_library("sendablerelationalstore") {
external_deps = [
"ability_runtime:abilitykit_native",
"ability_runtime:napi_base_context",
"bounds_checking_function:libsec_shared",
"hilog:libhilog",
"hitrace:hitrace_meter",
"napi:ace_napi",