mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-12-11 20:03:42 +00:00
!9750 fix a bug emulator x86_64 run cj app
Merge pull request !9750 from liuyics15/master
This commit is contained in:
commit
7cdb51790c
@ -27,9 +27,19 @@
|
||||
|
||||
using namespace OHOS::AbilityRuntime;
|
||||
|
||||
#ifdef APP_USE_ARM64
|
||||
#define APP_LIB_NAME "arm64"
|
||||
#elif defined(APP_USE_ARM)
|
||||
#define APP_LIB_NAME "arm"
|
||||
#elif defined(APP_USE_X86_64)
|
||||
#define APP_LIB_NAME "x86_64"
|
||||
#else
|
||||
#error unsupported platform
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
const std::string DEBUGGER = "@Debugger";
|
||||
const std::string SANDBOX_LIB_PATH = "/data/storage/el1/bundle/libs/arm64";
|
||||
const std::string SANDBOX_LIB_PATH = "/data/storage/el1/bundle/libs/" APP_LIB_NAME;
|
||||
const std::string CJ_RT_PATH = SANDBOX_LIB_PATH + "/runtime";
|
||||
const std::string CJ_LIB_PATH = SANDBOX_LIB_PATH + "/ohos";
|
||||
const std::string CJ_SYSLIB_PATH = "/system/lib64:/system/lib64/platformsdk:/system/lib64/module:/system/lib64/ndk";
|
||||
|
Loading…
Reference in New Issue
Block a user