mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-12-02 20:47:11 +00:00
!10076 Revert the DLL path for debugger
Merge pull request !10076 from yangxiaoshuai2022/debugger
This commit is contained in:
commit
bf15131da6
@ -23,11 +23,11 @@ using DebuggerPostTask = std::function<void(std::function<void()>&&)>;
|
||||
using DebuggerInfo = std::unordered_map<int, std::pair<void*, const DebuggerPostTask>>;
|
||||
using InstanceMap = std::unordered_map<int32_t, std::string>;
|
||||
#ifdef APP_USE_ARM
|
||||
constexpr char ARK_DEBUGGER_LIB_PATH[] = "/system/lib/libark_inspector.z.so";
|
||||
constexpr char ARK_DEBUGGER_LIB_PATH[] = "/system/lib/platformsdk/libark_inspector.z.so";
|
||||
#elif defined(APP_USE_X86_64)
|
||||
constexpr char ARK_DEBUGGER_LIB_PATH[] = "/system/lib64/libark_inspector.z.so";
|
||||
constexpr char ARK_DEBUGGER_LIB_PATH[] = "/system/lib64/platformsdk/libark_inspector.z.so";
|
||||
#else
|
||||
constexpr char ARK_DEBUGGER_LIB_PATH[] = "/system/lib64/libark_inspector.z.so";
|
||||
constexpr char ARK_DEBUGGER_LIB_PATH[] = "/system/lib64/platformsdk/libark_inspector.z.so";
|
||||
#endif
|
||||
namespace OHOS::AbilityRuntime {
|
||||
class ConnectServerManager final {
|
||||
|
@ -58,11 +58,11 @@ const std::string CACHE_DIRECTORY = "el2";
|
||||
const std::string RESTRICTED_PREFIX_PATH = "abcs/";
|
||||
const int PATH_THREE = 3;
|
||||
#ifdef APP_USE_ARM
|
||||
constexpr char ARK_DEBUGGER_LIB_PATH[] = "/system/lib/libark_inspector.z.so";
|
||||
constexpr char ARK_DEBUGGER_LIB_PATH[] = "/system/lib/platformsdk/libark_inspector.z.so";
|
||||
#elif defined(APP_USE_X86_64)
|
||||
constexpr char ARK_DEBUGGER_LIB_PATH[] = "/system/lib64/libark_inspector.z.so";
|
||||
constexpr char ARK_DEBUGGER_LIB_PATH[] = "/system/lib64/platformsdk/libark_inspector.z.so";
|
||||
#else
|
||||
constexpr char ARK_DEBUGGER_LIB_PATH[] = "/system/lib64/libark_inspector.z.so";
|
||||
constexpr char ARK_DEBUGGER_LIB_PATH[] = "/system/lib64/platformsdk/libark_inspector.z.so";
|
||||
#endif
|
||||
|
||||
bool g_debugMode = false;
|
||||
|
Loading…
Reference in New Issue
Block a user