mirror of
https://gitee.com/openharmony/msdp_device_status
synced 2024-11-27 09:41:43 +00:00
add cfi Signed-off-by:li-bo-boblove<boblove.libo@huawei.com>
Signed-off-by: li-bo-boblove <boblove.libo@huawei.com>
This commit is contained in:
parent
1a33a6f29b
commit
fe00c5766d
@ -28,6 +28,11 @@ config("devicestatus_callback_config") {
|
||||
}
|
||||
|
||||
ohos_shared_library("stationary") {
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
sources = [
|
||||
"${device_status_frameworks_path}/js/napi/src/devicestatus_event.cpp",
|
||||
"${device_status_frameworks_path}/js/napi/src/devicestatus_napi.cpp",
|
||||
|
@ -24,6 +24,11 @@ config("devicestatusnapi_private_config") {
|
||||
}
|
||||
|
||||
ohos_shared_library("deviceagent") {
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
sources = [ "./devicestatus_agent.cpp" ]
|
||||
|
||||
configs = [
|
||||
|
@ -54,6 +54,11 @@ ohos_shared_library("devicestatus_mock") {
|
||||
}
|
||||
|
||||
ohos_shared_library("devicestatus_algo") {
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
sources = [
|
||||
"src/algorithm/algo_absolute_still.cpp",
|
||||
"src/algorithm/algo_base.cpp",
|
||||
|
Loading…
Reference in New Issue
Block a user