!7044 设置isCompressNativeLibs标签版本隔离时,添加相关log

Merge pull request !7044 from Tintin9529/addExtractSoLog
This commit is contained in:
openharmony_ci 2024-09-22 13:45:34 +00:00 committed by Gitee
commit 00ffc688bd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 0 deletions

View File

@ -2298,6 +2298,7 @@ bool ToInnerBundleInfo(
if (applicationInfo.apiTargetVersion % ServiceConstants::API_VERSION_MOD <=
ServiceConstants::API_VERSION_THIRTEEN) {
APP_LOGD("targetAPIVersion is less than 14, set isCompressNativeLibs flag to true");
applicationInfo.isCompressNativeLibs = true;
innerModuleInfo.compressNativeLibs = true;
}

View File

@ -2360,6 +2360,7 @@ bool ToInnerBundleInfo(
return false;
}
if (moduleJson.app.targetAPIVersion % ServiceConstants::API_VERSION_MOD <= ServiceConstants::API_VERSION_THIRTEEN) {
APP_LOGD("targetAPIVersion is less than 14, set isCompressNativeLibs flag to true");
applicationInfo.isCompressNativeLibs = true;
innerModuleInfo.compressNativeLibs = true;
}