fix arkui-x build

Signed-off-by: bi-hu <bihu@huawei.com>
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8US2Q
This commit is contained in:
bi-hu 2024-01-09 15:35:53 +08:00
parent 305d6ef803
commit 872de4faf8
2 changed files with 2 additions and 1 deletions

View File

@ -1188,6 +1188,7 @@ ohos_source_set("libark_jsruntime_static") {
external_deps += [ "runtime_core:arkfile_header_deps" ]
} else {
deps += [ "$ark_root/libpandafile:arkfile_header_deps" ]
all_dependent_configs = [ ":ark_jsruntime_public_config" ]
}
public_configs = [ "$js_root:ark_jsruntime_public_config" ]

View File

@ -3167,7 +3167,7 @@ bool JSNApi::StopDebugger([[maybe_unused]] EcmaVM *vm)
#endif // ECMASCRIPT_SUPPORT_DEBUGGER
}
bool JSNApi::StopDebugger(int tid)
bool JSNApi::StopDebugger([[maybe_unused]] int tid)
{
#if defined(ECMASCRIPT_SUPPORT_DEBUGGER)
LOG_ECMA(INFO) << "JSNApi::StopDebugger, tid = " << tid;