!13178 graphic_2d:修改 rtg 相关 so 路径,适配新特性

Merge pull request !13178 from plusOneSecond/master
This commit is contained in:
openharmony_ci 2024-07-29 01:27:23 +00:00 committed by Gitee
commit a0ce6c30e5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 3 additions and 10 deletions

View File

@ -32,11 +32,7 @@ namespace Rosen {
#define LOGI(fmt, ...) HILOG_INFO(LOG_CORE, fmt, ##__VA_ARGS__)
#define LOGE(fmt, ...) HILOG_ERROR(LOG_CORE, fmt, ##__VA_ARGS__)
namespace {
#if (defined(__aarch64__) || defined(__x86_64__))
const std::string FRAME_AWARE_SO_PATH = "/system/lib64/libframe_ui_intf.z.so";
#else
const std::string FRAME_AWARE_SO_PATH = "/system/lib/platformsdk/libframe_ui_intf.z.so";
#endif
const std::string FRAME_AWARE_SO_PATH = "libframe_ui_intf.z.so";
}
RsFrameReport& RsFrameReport::GetInstance()
{

View File

@ -23,11 +23,8 @@
namespace OHOS {
namespace Rosen {
namespace {
#if (defined(__aarch64__) || defined(__x86_64__))
const std::string FRAME_AWARE_SO_PATH = "/system/lib64/libframe_ui_intf.z.so";
#else
const std::string FRAME_AWARE_SO_PATH = "/system/lib/platformsdk/libframe_ui_intf.z.so";
#endif
const std::string FRAME_AWARE_SO_PATH = "libframe_ui_intf.z.so";
#undef LOG_DOMAIN
#define LOG_DOMAIN 0xD001706