diff --git a/inspector/BUILD.gn b/inspector/BUILD.gn index ed21732614f9decd6f01e42641b8cf13ecb437c3..2ab3234dbe31d6781d7f7cb8b19183f8e69e592a 100644 --- a/inspector/BUILD.gn +++ b/inspector/BUILD.gn @@ -66,7 +66,6 @@ ohos_shared_library("ark_debugger") { if (enable_hilog) { external_deps = [ "hilog:libhilog" ] } - innerapi_tags = [ "platformsdk" ] subsystem_name = "arkcompiler" part_name = "toolchain" output_name = "ark_inspector" @@ -116,7 +115,6 @@ ohos_shared_library("connectserver_debugger") { if (enable_hilog) { external_deps = [ "hilog:libhilog" ] } - innerapi_tags = [ "platformsdk" ] subsystem_name = "arkcompiler" part_name = "toolchain" output_name = "ark_connect_inspector" diff --git a/tooling/BUILD.gn b/tooling/BUILD.gn index 9221adcba130e56a520c2ab6401c5500c13c3b22..81dd10b90bc92a764fdec26ff902c8ae0d4ba9cc 100644 --- a/tooling/BUILD.gn +++ b/tooling/BUILD.gn @@ -124,7 +124,6 @@ ohos_shared_library("libark_ecma_debugger") { if (!is_standard_system) { relative_install_dir = "ark" } - innerapi_tags = [ "platformsdk" ] subsystem_name = "arkcompiler" part_name = "toolchain" output_name = "libark_tooling" diff --git a/tooling/agent/runtime_impl.cpp b/tooling/agent/runtime_impl.cpp index 2cd0c6839dedcbb20ca06f5dd0053b25b29369e9..0c6c2a81d4db20b87e368ef150e766184c4fedd6 100644 --- a/tooling/agent/runtime_impl.cpp +++ b/tooling/agent/runtime_impl.cpp @@ -625,13 +625,13 @@ void RuntimeImpl::GetMapValue(Local value, std::vector> *outPropertyDesc) { Local mapRef = value->ToObject(vm_); - int32_t size = mapRef->GetSize(vm_); - int32_t len = mapRef->GetTotalElements(vm_); + uint32_t size = mapRef->GetSize(vm_); + uint32_t len = mapRef->GetTotalElements(vm_); int32_t index = 0; Local jsValueRef = NumberRef::New(vm_, size); SetKeyValue(jsValueRef, outPropertyDesc, "size"); jsValueRef = ArrayRef::New(vm_, size); - for (int32_t i = 0; i < len; ++i) { + for (uint32_t i = 0; i < len; ++i) { Local jsKey = mapRef->GetKey(vm_, i); if (jsKey->IsHole()) { continue;