fix the non-standard naming of DLL

Issue:https://gitee.com/openharmony/arkcompiler_toolchain/issues/IAJ58U

Signed-off-by: yangxiaoshuai2022 <yangxiaoshuai@huawei.com>
This commit is contained in:
yangxiaoshuai2022 2024-08-10 15:10:43 +08:00
parent cccc2e3396
commit 179af440ed
4 changed files with 8 additions and 5 deletions

View File

@ -69,6 +69,7 @@ ohos_shared_library("ark_debugger") {
innerapi_tags = [ "platformsdk" ]
subsystem_name = "arkcompiler"
part_name = "toolchain"
output_name = "ark_inspector"
}
ohos_source_set("connectserver_debugger_static") {
@ -118,4 +119,5 @@ ohos_shared_library("connectserver_debugger") {
innerapi_tags = [ "platformsdk" ]
subsystem_name = "arkcompiler"
part_name = "toolchain"
output_name = "ark_connect_inspector"
}

View File

@ -71,11 +71,11 @@ thread_local void* g_vm = nullptr;
#if !defined(IOS_PLATFORM)
#if defined(WINDOWS_PLATFORM)
constexpr char ARK_DEBUGGER_SHARED_LIB[] = "libark_ecma_debugger.dll";
constexpr char ARK_DEBUGGER_SHARED_LIB[] = "libark_tooling.dll";
#elif defined(MAC_PLATFORM)
constexpr char ARK_DEBUGGER_SHARED_LIB[] = "libark_ecma_debugger.dylib";
constexpr char ARK_DEBUGGER_SHARED_LIB[] = "libark_tooling.dylib";
#else
constexpr char ARK_DEBUGGER_SHARED_LIB[] = "libark_ecma_debugger.so";
constexpr char ARK_DEBUGGER_SHARED_LIB[] = "libark_tooling.so";
#endif
#endif

View File

@ -127,6 +127,7 @@ ohos_shared_library("libark_ecma_debugger") {
innerapi_tags = [ "platformsdk" ]
subsystem_name = "arkcompiler"
part_name = "toolchain"
output_name = "libark_tooling"
}
ohos_shared_library("libark_ecma_debugger_test") {

View File

@ -36,9 +36,9 @@ using TestMap = CUnorderedMap<std::string, std::unique_ptr<TestActions>>;
using namespace OHOS::ArkCompiler::Toolchain;
#ifdef OHOS_PLATFORM
#define DEBUGGER_LIBRARY "libark_debugger.z.so"
#define DEBUGGER_LIBRARY "libark_inspector.z.so"
#else
#define DEBUGGER_LIBRARY "libark_debugger.so"
#define DEBUGGER_LIBRARY "libark_inspector.so"
#endif
class TestUtil {