From 97b0b26cb6034e7dcf7a5b4c746625ea1096d20c Mon Sep 17 00:00:00 2001 From: yangfan479 Date: Sun, 17 Nov 2024 15:55:55 +0800 Subject: [PATCH] ColorManager enable PAC Signed-off-by: yangfan479 --- interfaces/kits/napi/graphic/color_manager/BUILD.gn | 1 + utils/color_manager/BUILD.gn | 1 + 2 files changed, 2 insertions(+) diff --git a/interfaces/kits/napi/graphic/color_manager/BUILD.gn b/interfaces/kits/napi/graphic/color_manager/BUILD.gn index c79a78c3b8..05d206553f 100644 --- a/interfaces/kits/napi/graphic/color_manager/BUILD.gn +++ b/interfaces/kits/napi/graphic/color_manager/BUILD.gn @@ -35,6 +35,7 @@ config("color_space_object_convertor_public_config") { if (current_os == "ohos") { ohos_shared_library("color_space_object_convertor") { + branch_protector_ret = "pac_ret" public_configs = [ ":color_space_object_convertor_public_config" ] sources = [ "color_space_object_convertor/color_space_object_convertor.cpp", diff --git a/utils/color_manager/BUILD.gn b/utils/color_manager/BUILD.gn index d06677d240..7853b2682a 100755 --- a/utils/color_manager/BUILD.gn +++ b/utils/color_manager/BUILD.gn @@ -75,6 +75,7 @@ config("export") { if (current_os == "ohos") { ohos_shared_library("color_manager") { + branch_protector_ret = "pac_ret" deps = [ ":color_manager_source" ] public_external_deps = [ "bounds_checking_function:libsec_shared" ] public_configs = [ ":export" ]