Add a Swappy installation script for easier Android builds#108674
Add a Swappy installation script for easier Android builds#108674akien-mga merged 1 commit intogodotengine:masterfrom
Conversation
|
It would be better to mention the installation script here, or automatically run it if godot/platform/android/detect.py Lines 192 to 203 in f92f1ce |
8b6f8e8 to
b1284f4
Compare
I've added a mention of the script in the warning. I think in the future, we should probably move towards making Swappy a hard requirement to build Godot with the default options, so that we can ensure all APKs are built with it enabled. The installation script should remove most of the friction already. We could keep support for explicitly passing Running scripts that download things from the Internet without prompting the user is a contentious issue in a buildsystem though (Linux distributions and Flathub's build system don't allow it). Therefore, the script should still be run manually before building for now. |
7f41ea7 to
df3faa4
Compare
akien-mga
left a comment
There was a problem hiding this comment.
Tiny fix aside, this looks good to me.
Run `python misc/scripts/install_swappy_android.py` and Swappy libraries will automatically be installed to the correct location. Run the script again when needed to update to the latest version.
df3faa4 to
683f0c0
Compare
|
Thanks! |
and Add a script to install ANGLE for easier Windows and macOS builds #109889 (can be merged independently).
Run
python misc/scripts/install_swappy_android.pyand Swappy libraries will automatically be installed to the correct location.Run the script again when needed to update to the latest version.
This could likely be cherry-picked to 4.5.