add pac protector

Change-Id: I47ae3548cec113e77f539823b21c074fe50021f9
Signed-off-by: leiguangyu <leiguangyu@huawei.com>
This commit is contained in:
leiguangyu 2024-09-11 15:10:14 +08:00
parent be522a9b68
commit 70b5c6db45
2 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,7 @@ config("hiperf_client_config") {
}
ohos_shared_library("hiperf_client") {
branch_protector_ret = "pac_ret"
install_enable = true
public_configs = [ ":hiperf_client_config" ]
sources = [ "src/hiperf_client.cpp" ]
@ -43,6 +44,7 @@ ohos_shared_library("hiperf_client") {
}
ohos_static_library("hiperf_client_static") {
branch_protector_ret = "pac_ret"
public_configs = [ ":hiperf_client_config" ]
sources = [ "src/hiperf_client.cpp" ]
defines = []

View File

@ -23,6 +23,7 @@ config("hiperf_client_napi_config") {
}
ohos_shared_library("hiperf_client_napi") {
branch_protector_ret = "pac_ret"
install_enable = true
configs = [ ":hiperf_client_napi_config" ]