Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision |
proton:android_setup_linux [2012/07/02 19:34] – Build instructions of Android projects on Linux aki | proton:android_setup_linux [2018/07/28 08:45] (current) – [Building Proton examples] seth |
---|
| |
=== <PROTON>/tools/linux/prepareAndroid.sh === | === <PROTON>/tools/linux/prepareAndroid.sh === |
| |
| **Note on 7/28/2018:** The tools directory is gone, but I kept this script in <PROTON>RTPack/linux I think. Aki wrote this part, I've never actually made Android stuff in linux, so sorry if this is broken now! -Seth |
| |
This is a script that prepares a Proton style project for compilation. It copies, moves and modifies various source files. It also performs the preprocessing step explained in [[proton:android_projects#v2_styles|the general explanation about Android projects]] page. Whenever a source file that needs preprocessing is changed this file can be run in order to get that file updated for compilation. | This is a script that prepares a Proton style project for compilation. It copies, moves and modifies various source files. It also performs the preprocessing step explained in [[proton:android_projects#v2_styles|the general explanation about Android projects]] page. Whenever a source file that needs preprocessing is changed this file can be run in order to get that file updated for compilation. |
| |
| The script accepts some command line parameters which control its behaviour. Use the -h argument to get a list of those. |
| |
This script must be executed within the ''android'' directory of the project. | This script must be executed within the ''android'' directory of the project. |
| |
=== <PROTON>/tools/linux/update_media.sh and <PROTON>/tools/linux/androidSyncAssets.sh === | === <PROTON>/tools/linux/update_media.sh and <PROTON>/tools/linux/androidSyncAssets.sh === |
| |
| **Note on 7/28/2018:** Scripts moved to <PROTON>/RTPack/linux. -Seth |
| |
The ''update_media.sh'' script uses the [[proton:rtpack|RTPack]] tool to create font files and convert the various image files. It is not specific to Android projects but applies to all the platforms. It should be executed in the project's ''media'' directory. The resulting files end up to the project's ''bin'' directory. | The ''update_media.sh'' script uses the [[proton:rtpack|RTPack]] tool to create font files and convert the various image files. It is not specific to Android projects but applies to all the platforms. It should be executed in the project's ''media'' directory. The resulting files end up to the project's ''bin'' directory. |