!514 增加对.abc格式文件支持

Merge pull request !514 from yuyanqing/master
This commit is contained in:
openharmony_ci 2024-06-29 06:28:20 +00:00 committed by Gitee
commit fb69795cb7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -797,8 +797,10 @@ bool NeedAdaptHMBundlePath(std::string& filename, const std::string& threadname)
bool IsArkJsFile(const std::string& filepath)
{
return (StringEndsWith(filepath, ".hap") || StringEndsWith(filepath, ".hsp") ||
StringStartsWith(filepath, "[anon:ArkTS Code"));
return (StringEndsWith(filepath, ".hap") ||
StringStartsWith(filepath, "[anon:ArkTS Code") ||
StringEndsWith(filepath, ".hsp") ||
StringEndsWith(filepath, ".abc"));
}
bool IsHiviewCall()