libgraphic_utils后向PAC整改

Signed-off-by: 周思远 <zhousiyuan8@huawei.com>
This commit is contained in:
周思远 2024-08-29 14:54:57 +08:00
parent 0b05c9cc38
commit 58e0a72826
4 changed files with 9 additions and 0 deletions

View File

@ -39,6 +39,9 @@ GraphicColorGamut RSSurfaceOhos::GetColorSpace() const
uint32_t RSSurfaceOhos::GetQueueSize() const
{
if (producer_ == nullptr) {
return 0;
}
return producer_->GetQueueSize();
}

View File

@ -19,6 +19,8 @@ config("sandbox_utils_config") {
}
ohos_static_library("sandbox_utils") {
branch_protector_ret = "pac_ret"
if (is_cross_platform) {
defines = [ "ROSEN_CROSS_PLATFORM" ]
}

View File

@ -29,6 +29,8 @@ config("scoped_bytrace_public_config") {
}
ohos_static_library("scoped_bytrace") {
branch_protector_ret = "pac_ret"
sources = [ "src/scoped_bytrace.cpp" ]
configs = [ ":scoped_bytrace_config" ]

View File

@ -18,6 +18,8 @@ config("test_header_config") {
}
ohos_static_library("test_header") {
branch_protector_ret = "pac_ret"
sources = [ "export/test_header.h" ]
public_configs = [ ":test_header_config" ]