2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
#include "AndroidRuntimeSettingsPrivatePCH.h"
|
|
|
|
|
|
|
|
|
|
#include "AndroidRuntimeSettings.h"
|
|
|
|
|
|
2014-10-14 10:29:11 -04:00
|
|
|
UAndroidRuntimeSettings::UAndroidRuntimeSettings(const FObjectInitializer& ObjectInitializer)
|
|
|
|
|
: Super(ObjectInitializer)
|
2014-03-14 14:13:41 -04:00
|
|
|
, Orientation(EAndroidScreenOrientation::Landscape)
|
2014-04-23 19:40:10 -04:00
|
|
|
, bEnableGooglePlaySupport(false)
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
2014-09-18 15:10:00 -04:00
|
|
|
|
|
|
|
|
#if WITH_EDITOR
|
|
|
|
|
void UAndroidRuntimeSettings::PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent)
|
|
|
|
|
{
|
|
|
|
|
Super::PostEditChangeProperty(PropertyChangedEvent);
|
|
|
|
|
|
|
|
|
|
// Ensure that at least one architecture is supported
|
|
|
|
|
if (!bBuildForArmV7 && !bBuildForX86)// && !bBuildForArm64 && !bBuildForX8664)
|
|
|
|
|
{
|
|
|
|
|
bBuildForArmV7 = true;
|
|
|
|
|
}
|
2014-12-11 13:44:41 -05:00
|
|
|
|
|
|
|
|
// Ensure that at least one GPU architecture is supported
|
|
|
|
|
if (!bBuildForES2 && !bBuildForES31)
|
|
|
|
|
{
|
|
|
|
|
bBuildForES2 = true;
|
|
|
|
|
}
|
2014-09-18 15:10:00 -04:00
|
|
|
}
|
|
|
|
|
#endif
|