mirror of
https://gitee.com/openharmony/distributeddatamgr_relational_store
synced 2024-11-23 07:00:41 +00:00
commit
12fac016f4
@ -22,6 +22,13 @@ ohos_copy("relational_store_declaration") {
|
||||
}
|
||||
|
||||
ohos_shared_library("clouddata") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
|
||||
sources = [
|
||||
"${cloud_data_napi_path}/src/entry_point.cpp",
|
||||
"${cloud_data_napi_path}/src/js_config.cpp",
|
||||
|
@ -22,6 +22,13 @@ ohos_copy("relational_store_declaration") {
|
||||
}
|
||||
|
||||
ohos_shared_library("dataability") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
|
||||
include_dirs = [
|
||||
"include",
|
||||
"${relational_store_common_path}/include",
|
||||
|
@ -63,6 +63,15 @@ ohos_shared_library("napi_rdb") {
|
||||
"//foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb:native_rdb",
|
||||
]
|
||||
} else {
|
||||
if (is_ohos) {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
}
|
||||
|
||||
include_dirs = [
|
||||
"include",
|
||||
"${datashare_path}/common/include/",
|
||||
@ -130,6 +139,15 @@ ohos_shared_library("rdb") {
|
||||
"//foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb:native_rdb",
|
||||
]
|
||||
} else {
|
||||
if (is_ohos) {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
}
|
||||
|
||||
include_dirs = [
|
||||
"include",
|
||||
"${datashare_path}/common/include/",
|
||||
|
@ -37,6 +37,13 @@ sources = [
|
||||
|
||||
if (is_ohos) {
|
||||
ohos_shared_library("relationalstore") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
|
||||
include_dirs = [
|
||||
"include",
|
||||
"${datashare_path}/common/include/",
|
||||
|
@ -70,6 +70,15 @@ if (is_android || is_ios) {
|
||||
}
|
||||
} else {
|
||||
ohos_shared_library("relational_common_base") {
|
||||
if (is_ohos) {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
}
|
||||
|
||||
sources =
|
||||
[ "${relational_store_native_path}/appdatafwk/src/serializable.cpp" ]
|
||||
|
||||
@ -96,6 +105,13 @@ if (is_android || is_ios) {
|
||||
}
|
||||
|
||||
ohos_shared_library("native_appdatafwk") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
|
||||
sources =
|
||||
[ "${relational_store_native_path}/appdatafwk/src/shared_block.cpp" ]
|
||||
|
||||
|
@ -22,6 +22,13 @@ config("cloud_public_config") {
|
||||
}
|
||||
|
||||
ohos_static_library("cloud_data_inner") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
|
||||
part_name = "relational_store"
|
||||
public_configs = [ ":cloud_public_config" ]
|
||||
subsystem_name = "distributeddatamgr"
|
||||
|
@ -36,6 +36,13 @@ config("native_dataability_public_config") {
|
||||
}
|
||||
|
||||
ohos_shared_library("native_dataability") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
|
||||
part_name = "relational_store"
|
||||
sources = [
|
||||
"${relational_store_native_path}/dataability/src/data_ability_predicates.cpp",
|
||||
|
@ -86,6 +86,13 @@ if (is_ohos && !build_ohos_sdk) {
|
||||
]
|
||||
|
||||
ohos_shared_library("native_rdb") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
|
||||
part_name = "relational_store"
|
||||
sources = base_sources
|
||||
|
||||
@ -137,6 +144,13 @@ if (is_ohos && !build_ohos_sdk) {
|
||||
}
|
||||
|
||||
ohos_static_library("native_rdb_static") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
|
||||
sources = base_sources
|
||||
|
||||
configs = [ ":native_rdb_config" ]
|
||||
|
@ -38,6 +38,13 @@ config("rdb_bms_adapter_public_config") {
|
||||
}
|
||||
|
||||
ohos_shared_library("rdb_bms_adapter") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
|
||||
sources = [
|
||||
"${relational_store_native_path}/rdb_bms_adaptor/src/data_properties.cpp",
|
||||
"${relational_store_native_path}/rdb_bms_adaptor/src/data_share_profile_info.cpp",
|
||||
|
@ -33,6 +33,13 @@ config("rdb_data_ability_adapter_public_config") {
|
||||
}
|
||||
|
||||
ohos_shared_library("rdb_data_ability_adapter") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
|
||||
sources = [
|
||||
"${relational_store_native_path}/rdb_data_ability_adapter/src/rdb_data_ability_utils.cpp",
|
||||
"${relational_store_native_path}/rdb_data_ability_adapter/src/result_set_utils.cpp",
|
||||
|
@ -38,6 +38,13 @@ config("rdb_data_share_adapter_public_config") {
|
||||
}
|
||||
|
||||
ohos_shared_library("rdb_data_share_adapter") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
|
||||
sources = [
|
||||
"${relational_store_native_path}/rdb_data_share_adapter/src/rdb_result_set_bridge.cpp",
|
||||
"${relational_store_native_path}/rdb_data_share_adapter/src/rdb_utils.cpp",
|
||||
|
Loading…
Reference in New Issue
Block a user