Commit Graph

161 Commits

Author SHA1 Message Date
bryan sefcik
3c6a04fdf6 Fixed an issue where SNDBS would fail to compile files on agents because the inlined gen.cpp files were not setup as prerequisites.
#rb joe.kirchoff

[CL 22464949 by bryan sefcik in ue5-main branch]
2022-10-11 16:49:17 -04:00
dmytro vovk
400afa0738 Do not assume LTO when PGO is enabled on Android as it doesn't work well with NDK21
#jira none
#rb trivial
#preflight 6331a0757b582f58ab63f6a7

[CL 22188490 by dmytro vovk in ue5-main branch]
2022-09-26 13:27:42 -04:00
dmytro vovk
2d2eb358a3 Added LTO support to Android toolchain
#jira none
#rb Chris.Babcock
#preflight 632c7733d747fe52c852b726

[CL 22145951 by dmytro vovk in ue5-main branch]
2022-09-22 17:40:58 -04:00
dmytro vovk
5c5a92ae39 Export all symbols on Android for Debug\Dev builds by default to allow call stacks symbolication
#jira UE-164609
#rb none
#preflight 632b2b66d747fe52c8db45d2

[CL 22118931 by dmytro vovk in ue5-main branch]
2022-09-21 14:40:02 -04:00
joe kirchoff
e9173de95f UnrealBuildTool: Write trace files for android if enabled
#rnx
#rb trivial
#preflight 631fc01a1d7d879454482893

[CL 21986597 by joe kirchoff in ue5-main branch]
2022-09-13 13:17:24 -04:00
dmytro vovk
4f6ee49237 Removed --exclude-libs=ALL linker flag that prevented re-exporting symbols from static libs
#jira none
#rb Chris.Babcock
#preflight 63109af498103d4521e95b96

[CL 21759629 by dmytro vovk in ue5-main branch]
2022-09-02 11:04:05 -04:00
dmytro vovk
37b8ab825c Deprecated bCompileForSize UBT Target option and replaced with OptimizationMode enumto fine tune a balance between speed and\or code size
#jira none
#rb Joe.Kirchoff
#preflight 62ff99b0200ff87e07f75a69

[CL 21511266 by dmytro vovk in ue5-main branch]
2022-08-23 12:44:36 -04:00
dmytro vovk
5bad8f37b7 Removed legacy Android Project Settings
#rb Chris.Babcock

[CL 21467626 by dmytro vovk in ue5-main branch]
2022-08-19 19:18:13 -04:00
dmytro vovk
a24bd82b4c Cleaned up dublicated compiler flag in Android Toolchain
#rb Chris.Babcock

[CL 21467523 by dmytro vovk in ue5-main branch]
2022-08-19 19:16:00 -04:00
dmytro vovk
dedc835a67 Enhanced UBT to check all Android libs for libc++_shared.so dependency
#rb Chris.Babcock
#jira UE-131966

#ushell-cherrypick of 21441862 by dmytro.vovk
#preflight 62fe4c78200ff87e07be431f

[CL 21442825 by dmytro vovk in ue5-main branch]
2022-08-18 11:20:43 -04:00
Joe Kirchoff
c5ca8db060 UnrealBuildTool: Allow PCH when running the clang analyzer
#rb trivial
#rnx
#preflight 62d73a1f164251d065f9d9df

[CL 21169279 by Joe Kirchoff in ue5-main branch]
2022-07-19 19:43:55 -04:00
dmytro vovk
e4767d3552 Added Clang Analyzer support to Android toolchain
#jira UE-140007
#rb Chris.Babcock
#preflight 62d18137dc4397d38456cf9e

[CL 21110861 by dmytro vovk in ue5-main branch]
2022-07-15 11:25:34 -04:00
Joe Kirchoff
5ef701b076 UnrealBuildTool: Clean up clang toolchain paths and versioning.
Remove need for most of the derived classes to override CompileCPPFiles

#rnx
#rb trivial
#preflight 62cc8862f22e9d4fdf79a882

[CL 21047169 by Joe Kirchoff in ue5-main branch]
2022-07-11 16:55:46 -04:00
allan bentham
074b10ac38 Android build fix:
correcting clang version for 'no-bitwise-instead-of-logical' arg.
#rb dmytro.vovk

#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 20982472 via CL 20982475 via CL 20982484
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 20984527 by allan bentham in ue5-main branch]
2022-07-07 11:32:16 -04:00
dmytro vovk
8a6f237872 Added Android Toolchain option to disable stack protector
#rb Chris.Babcock

#ROBOMERGE-AUTHOR: dmytro.vovk
#ROBOMERGE-SOURCE: CL 20862565 via CL 20862589 via CL 20862601
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20876663 by dmytro vovk in ue5-main branch]
2022-06-29 12:19:45 -04:00
Chris Babcock
c8d1870bfe Raise minimum Android version supported to 8.0 (level 26)
#jira UE-156080
#android
#review @Jack.Porter
#rb Jack.Porter

#preflight https://horde.devtools.epicgames.com/job/62a22e07081ed277df5e90be

[CL 20817497 by Chris Babcock in ue5-main branch]
2022-06-24 17:52:12 -04:00
Ben Marsh
cbb950c578 UBT: Use ILogger throughout UBT, rather than legacy EpicGames.Core.Log methods. All output going forwards should use structured logging rather than String.Format style logging.
#preflight 628e9dc6e746de4961f60032

[CL 20373777 by Ben Marsh in ue5-main branch]
2022-05-25 19:55:37 -04:00
Joe Kirchoff
c512a89ace Rename UnrealBuildTool.EngineSourceDirectory -> Unreal.EngineSourceDirectory
#rnx
#rb trivial
#preflight 628e9fdaf622d972b59ebe85

[CL 20372061 by Joe Kirchoff in ue5-main branch]
2022-05-25 17:54:39 -04:00
Joe Kirchoff
6c92065094 UnrealBuildTool: Merge various Clang ToolChainOptions enums
#rb none
#rnx
#preflight 62843567925bbe69df8dc8d4

[CL 20358298 by Joe Kirchoff in ue5-main branch]
2022-05-24 19:41:41 -04:00
dmytro vovk
1fc026af4b Fixed Android builds with NDK25
#jira none
#rb Chris.Babcock
#preflight 628ce503c97e4beea3a161a7

[CL 20347836 by dmytro vovk in ue5-main branch]
2022-05-24 10:15:43 -04:00
dmytro vovk
b35c633905 Update minSDKVersion to be higher or equal than NDK API version to prevent runtime DSO loading errors on Android
#rb Chris.Babcock
#jira UE-152621
#preflight 62857948571eb4bfb614e9fb

[CL 20270715 by dmytro vovk in ue5-main branch]
2022-05-18 19:08:42 -04:00
Joe Kirchoff
3ed8a895d6 UnrealBuildTool: Update clang toolchains (except Android) to fill a list of string arguments rather than returning a single string
#rb none
#rnx
#preflight 627ecada5a0a06a57ea881a1

[CL 20190395 by Joe Kirchoff in ue5-main branch]
2022-05-13 18:08:52 -04:00
Joe Kirchoff
e45cc77314 UnrealBuildTool: Move include path and preprocessor definition arguments to ClangToolChain virtual functions
#rb trivial
#rnx
#preflight 627c3f3e1e74993343ba1846

[CL 20153646 by Joe Kirchoff in ue5-main branch]
2022-05-11 19:14:13 -04:00
Joe Kirchoff
880c5bfd6e UnrealBuildTool: Begin moving common functions from clang based toolchains to base ClangToolChain.
#rb brandon.schaefer
#rb chris.babcock
#preflight 627ad0017e5f24d1ede6d5d0
#preflight 627ada7a0a5817c9d91562c0
#rnx

* Move ClangVersion variables to base class and share function to check version. A separate change will add a virtual function for parsing the clang version for each toolchain as to not add complexity to this change.
* GetCppStandardCompileArgument: Used by all, no differences
* GetCompileArguments_CPP: Used by all. Switch & Apple are overridden
* GetCompileArguments_C: Used by all, no differences
* GetCompileArguments_MM: Used by Linux & Apple. Apple is overridden.
* GetCompileArguments_M: Used by Linux & Apple. Apple is overridden.
* GetCompileArguments_CPP: Used by all. Switch & Apple are overridden.
* GetRTTIFlag: Used by Linux & Apple, no differences.

[CL 20131754 by Joe Kirchoff in ue5-main branch]
2022-05-10 19:08:08 -04:00
dmytro vovk
3066f19141 Updated GooglePAD for NDK23
#jira none
#review Chris.Babcock
#preflight 627a67d610766ef8c1f3d79f

[CL 20130289 by dmytro vovk in ue5-main branch]
2022-05-10 17:41:28 -04:00