Skip to content

Commit 5f48331

Browse files
authored
Update the Android editor build scripts to match the updated build flavors in godotengine/godot#96967
1 parent fa404f8 commit 5f48331

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

build-android/build.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,22 @@ if [ "${CLASSICAL}" == "1" ]; then
3737
pushd platform/android/java
3838
# Generate the regular Android editor.
3939
./gradlew generateGodotEditor
40-
# Generate the Android editor for Meta devices.
41-
./gradlew generateGodotMetaEditor
40+
# Generate the Android editor for HorizonOS devices.
41+
./gradlew generateGodotHorizonOSEditor
4242
popd
4343

4444
mkdir -p /root/out/tools
4545
# Copy the generated Android editor binaries (apk & aab).
4646
if [ "$store_release" == "yes" ]; then
47-
cp bin/android_editor_builds/android_editor-google-release.apk /root/out/tools/android_editor.apk
48-
cp bin/android_editor_builds/android_editor-google-release.aab /root/out/tools/android_editor.aab
49-
# For the Meta build, we only copy the apk.
50-
cp bin/android_editor_builds/android_editor-meta-release.apk /root/out/tools/android_editor_meta.apk
47+
cp bin/android_editor_builds/android_editor-android-release.apk /root/out/tools/android_editor.apk
48+
cp bin/android_editor_builds/android_editor-android-release.aab /root/out/tools/android_editor.aab
49+
# For the HorizonOS build, we only copy the apk.
50+
cp bin/android_editor_builds/android_editor-horizonos-release.apk /root/out/tools/android_editor_horizonos.apk
5151
else
52-
cp bin/android_editor_builds/android_editor-google-debug.apk /root/out/tools/android_editor.apk
53-
cp bin/android_editor_builds/android_editor-google-debug.aab /root/out/tools/android_editor.aab
54-
# For the Meta build, we only copy the apk.
55-
cp bin/android_editor_builds/android_editor-meta-debug.apk /root/out/tools/android_editor_meta.apk
52+
cp bin/android_editor_builds/android_editor-android-debug.apk /root/out/tools/android_editor.apk
53+
cp bin/android_editor_builds/android_editor-android-debug.aab /root/out/tools/android_editor.aab
54+
# For the HorizonOS build, we only copy the apk.
55+
cp bin/android_editor_builds/android_editor-horizonos-debug.apk /root/out/tools/android_editor_horizonos.apk
5656
fi
5757

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

build-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ if [ "${build_classical}" == "1" ]; then
366366
# Editor
367367
binname="${godot_basename}_android_editor.apk"
368368
cp out/android/tools/android_editor.apk ${reldir}/${binname}
369-
binname="${godot_basename}_android_editor_meta.apk"
370-
cp out/android/tools/android_editor_meta.apk ${reldir}/${binname}
369+
binname="${godot_basename}_android_editor_horizonos.apk"
370+
cp out/android/tools/android_editor_horizonos.apk ${reldir}/${binname}
371371
binname="${godot_basename}_android_editor.aab"
372372
cp out/android/tools/android_editor.aab ${reldir}/${binname}
373373

0 commit comments

Comments
 (0)