Skip to content

Commit 7cfa88a

Browse files
authored
Merge pull request #105 from godotengine/android-picoos-editor
Add support for Android editor builds for PicoOS devices
2 parents e7210ec + c9d351a commit 7cfa88a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

build-android/build.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,24 @@ if [ "${CLASSICAL}" == "1" ]; then
4040
./gradlew generateGodotEditor
4141
# Generate the Android editor for HorizonOS devices.
4242
./gradlew generateGodotHorizonOSEditor
43+
# Generate the Android editor for PicoOS devices.
44+
./gradlew generateGodotPicoOSEditor
4345
popd
4446

4547
mkdir -p /root/out/tools
4648
# Copy the generated Android editor binaries (apk & aab).
4749
if [ "$store_release" == "yes" ]; then
4850
cp bin/android_editor_builds/android_editor-android-release.apk /root/out/tools/android_editor.apk
4951
cp bin/android_editor_builds/android_editor-android-release.aab /root/out/tools/android_editor.aab
50-
# For the HorizonOS build, we only copy the apk.
52+
# For the HorizonOS and PicoOS builds, we only copy the apk.
5153
cp bin/android_editor_builds/android_editor-horizonos-release.apk /root/out/tools/android_editor_horizonos.apk
54+
cp bin/android_editor_builds/android_editor-picoos-release.apk /root/out/tools/android_editor_picoos.apk
5255
else
5356
cp bin/android_editor_builds/android_editor-android-debug.apk /root/out/tools/android_editor.apk
5457
cp bin/android_editor_builds/android_editor-android-debug.aab /root/out/tools/android_editor.aab
55-
# For the HorizonOS build, we only copy the apk.
58+
# For the HorizonOS and PicoOS build, we only copy the apk.
5659
cp bin/android_editor_builds/android_editor-horizonos-debug.apk /root/out/tools/android_editor_horizonos.apk
60+
cp bin/android_editor_builds/android_editor-picoos-debug.apk /root/out/tools/android_editor_picoos.apk
5761
fi
5862

5963
# Restart from a clean tarball, as we'll copy all the contents

build-release.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,8 @@ if [ "${build_classical}" == "1" ]; then
331331
cp out/android/tools/android_editor.apk ${reldir}/${binname}
332332
binname="${godot_basename}_android_editor_horizonos.apk"
333333
cp out/android/tools/android_editor_horizonos.apk ${reldir}/${binname}
334+
binname="${godot_basename}_android_editor_picoos.apk"
335+
cp out/android/tools/android_editor_picoos.apk ${reldir}/${binname}
334336
binname="${godot_basename}_android_editor.aab"
335337
cp out/android/tools/android_editor.aab ${reldir}/${binname}
336338

0 commit comments

Comments
 (0)