Commit 8b61d4fd authored by Volker Krause's avatar Volker Krause
Browse files

Add APK exclusion lists for libraries and assets

This removes a number of plugins and libraries that androiddeployqt adds
due to some rather broad dependency rules, but that we don't actually need.

This also reverts parts of the broad inclusion patterns applied by ECM,
which results in a lots of extra assets from share/ that we don't need
or want either.

For the latter we can ideally fix more of that at the source itself, but
for now that's a good stop-gap measure.
parent 08af1639
......@@ -73,4 +73,20 @@ android {
minSdkVersion qtMinSdkVersion
targetSdkVersion qtTargetSdkVersion
}
packagingOptions {
exclude 'lib/*/*RemoteObjects*'
exclude 'lib/*/*_imageformats_qico_*'
exclude 'lib/*/*_imageformats_qicns_*'
exclude 'lib/*/*_imageformats_qtga_*'
exclude 'lib/*/*_imageformats_qtiff_*'
exclude 'lib/*/*_qmltooling_*'
exclude 'lib/*/*_geoservices_esri_*'
exclude 'lib/*/*_geoservices_mapbox_*'
exclude 'lib/*/*_geoservices_nokia_*'
}
aaptOptions {
ignoreAssetsPattern '!ECM:!doc:!man:!mime:!qlogging-categories5'
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment