modify rtg so path

Signed-off-by: Brian <ling.qiwei@foxmail.com>
This commit is contained in:
Brian 2024-07-25 21:46:23 +08:00
parent 3d5d5a4622
commit 0635dbfc1b
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