mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 07:02:25 +00:00
libgraphic_utils后向PAC整改
Signed-off-by: 周思远 <zhousiyuan8@huawei.com>
This commit is contained in:
parent
0b05c9cc38
commit
58e0a72826
@ -39,6 +39,9 @@ GraphicColorGamut RSSurfaceOhos::GetColorSpace() const
|
||||
|
||||
uint32_t RSSurfaceOhos::GetQueueSize() const
|
||||
{
|
||||
if (producer_ == nullptr) {
|
||||
return 0;
|
||||
}
|
||||
return producer_->GetQueueSize();
|
||||
}
|
||||
|
||||
|
@ -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" ]
|
||||
}
|
||||
|
@ -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" ]
|
||||
|
@ -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" ]
|
||||
|
Loading…
Reference in New Issue
Block a user