summaryrefslogtreecommitdiffstats
path: root/platform/android/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-05-24 10:53:17 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-05-24 10:53:17 +0200
commit094e88416ab84cc4e391703453fb46528739cd69 (patch)
treea585c1e6f78135c52a2b67b2954e39292c095c6a /platform/android/detect.py
parentc39c5653077eeda4d2c9b6e48a459b08e8c3b599 (diff)
parent0d569bea5dfca80fa97879a93af62090d98073a2 (diff)
downloadredot-engine-094e88416ab84cc4e391703453fb46528739cd69.tar.gz
Merge pull request #74569 from m4gr3d/setup_play_store_builds_main
Update the gradle build tasks to generate play store builds
Diffstat (limited to 'platform/android/detect.py')
-rw-r--r--platform/android/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py
index 7515d0020d..20aced3524 100644
--- a/platform/android/detect.py
+++ b/platform/android/detect.py
@@ -22,6 +22,8 @@ def can_build():
def get_opts():
+ from SCons.Variables import BoolVariable
+
return [
("ANDROID_SDK_ROOT", "Path to the Android SDK", get_env_android_sdk_root()),
(
@@ -29,6 +31,7 @@ def get_opts():
'Target platform (android-<api>, e.g. "android-' + str(get_min_target_api()) + '")',
"android-" + str(get_min_target_api()),
),
+ BoolVariable("store_release", "Editor build for Google Play Store (for official builds only)", False),
]