1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-23 15:16:17 +00:00

Merge pull request #67259 from lucasnlm/optimiza-android-export

Optimize Android export process
This commit is contained in:
Fredia Huya-Kouadio
2022-10-17 08:22:37 -07:00
committed by GitHub

View File

@@ -2901,6 +2901,7 @@ Error EditorExportPlatformAndroid::export_project_helper(const Ref<EditorExportP
_load_image_data(splash_bg_color_image, data); _load_image_data(splash_bg_color_image, data);
} }
if (file.ends_with(".png") && file.contains("mipmap")) {
for (int i = 0; i < icon_densities_count; ++i) { for (int i = 0; i < icon_densities_count; ++i) {
if (main_image.is_valid() && !main_image->is_empty()) { if (main_image.is_valid() && !main_image->is_empty()) {
if (file == launcher_icons[i].export_path) { if (file == launcher_icons[i].export_path) {
@@ -2918,6 +2919,7 @@ Error EditorExportPlatformAndroid::export_project_helper(const Ref<EditorExportP
} }
} }
} }
}
if (file.ends_with(".so")) { if (file.ends_with(".so")) {
bool enabled = false; bool enabled = false;