Files
UnrealEngineUWP/Engine/Source/Runtime/Android/AndroidRuntimeSettings/Private/AndroidRuntimeSettings.cpp
Chris Babcock b6df0fec88 Android x86_64 support - pr #914 (also adds support for ndk-r10e clang 3.6)
#ue-11650
#ue4
#android
#codereview Josh.Adams

[CL 2590354 by Chris Babcock in Main branch]
2015-06-17 12:56:56 -04:00

33 lines
842 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "AndroidRuntimeSettingsPrivatePCH.h"
#include "AndroidRuntimeSettings.h"
UAndroidRuntimeSettings::UAndroidRuntimeSettings(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
, Orientation(EAndroidScreenOrientation::Landscape)
, bEnableGooglePlaySupport(false)
{
}
#if WITH_EDITOR
void UAndroidRuntimeSettings::PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent)
{
Super::PostEditChangeProperty(PropertyChangedEvent);
// Ensure that at least one architecture is supported
if (!bBuildForArmV7 && !bBuildForX86 && !bBuildForX8664)// && !bBuildForArm64)
{
bBuildForArmV7 = true;
}
// Ensure that at least one GPU architecture is supported
if (!bBuildForES2 && !bBuildForES31)
{
bBuildForES2 = true;
}
}
#endif