Move variable to where it's used.

This commit is contained in:
Joseph Cloutier
2023-12-21 22:31:58 -05:00
parent 60064f55b3
commit cb03d9cd9a

View File

@@ -480,8 +480,6 @@ class AndroidPlatform extends PlatformTarget
"android:screenOrientation": project.window.orientation == PORTRAIT ? "sensorPortrait" : (project.window.orientation == LANDSCAPE ? "sensorLandscape" : null)
});
context.ANDROID_LIBRARY_PROJECTS = [];
if (!project.environment.exists("ANDROID_SDK") || !project.environment.exists("ANDROID_NDK_ROOT"))
{
var command = #if lime "lime" #else "hxp" #end;
@@ -516,6 +514,7 @@ class AndroidPlatform extends PlatformTarget
"KEY_STORE_ALIAS_PASSWORD")) context.KEY_STORE_ALIAS_PASSWORD = StringTools.replace(context.KEY_STORE_ALIAS_PASSWORD, "\\", "\\\\");
var index = 1;
context.ANDROID_LIBRARY_PROJECTS = [];
for (dependency in project.dependencies)
{