From d617e8765bc106a4cf1e87c8b1745c31223cd739 Mon Sep 17 00:00:00 2001 From: amzn-hdoke <61443753+hdoke@users.noreply.github.com> Date: Fri, 25 Jun 2021 16:37:41 -0700 Subject: [PATCH] Disable AWS gems for Linux and Android release monolithic builds (#1592) * Disable AWS gems for Linux and Android release monolithic builds * Update AWS gems add condition --- AutomatedTesting/Gem/Code/enabled_gems.cmake | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/AutomatedTesting/Gem/Code/enabled_gems.cmake b/AutomatedTesting/Gem/Code/enabled_gems.cmake index f732281487..f27d61908a 100644 --- a/AutomatedTesting/Gem/Code/enabled_gems.cmake +++ b/AutomatedTesting/Gem/Code/enabled_gems.cmake @@ -48,7 +48,14 @@ set(ENABLED_GEMS LyShine HttpRequestor Atom_AtomBridge - AWSCore - AWSClientAuth - AWSMetrics ) + +# TODO remove conditional add once AWSNativeSDK libs are fixed for Android and Linux Monolithic release. +set(aws_excluded_platforms Linux Android) +if (NOT (LY_MONOLITHIC_GAME AND ${PAL_PLATFORM_NAME} IN_LIST aws_excluded_platforms)) + list(APPEND ENABLED_GEMS + AWSCore + AWSClientAuth + AWSMetrics + ) +endif()