Commit Graph

154 Commits

Author SHA1 Message Date
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
allan bentham
7e4780f2e8 Disable variable set but not used compiler warning occurring when using newer Android NDK.
#rb dmytro.vovk
#preflight 627a6808e713fc6e2c4ba3b2

#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 20122810 via CL 20122901 via CL 20122931
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20124299 by allan bentham in ue5-main branch]
2022-05-10 11:59:47 -04:00
Joe Kirchoff
a466692fc3 UnrealBuildTool: Compile PCH with -fpch-instantiate-templates for Android platform. Improves compile time by almost 15%
#rb none
#preflight 626aaf4ead56c0cbbea2c1c5

[CL 19962904 by Joe Kirchoff in ue5-main branch]
2022-04-28 11:39:55 -04:00
chris babcock
9f34405b80 Add -fno-delete-null-pointer-checks to disable clang13 optimization on newer Android NDK toolchains
#jira UE-150344
#android
[REVIEW] [at]Michael.Balzer
#rb Michael.Balzer
#preflight https://horde.devtools.epicgames.com/job/62686c47430b9997ebfb22f7
#lockdown jack.porter

#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 19933962 in //UE5/Release-5.0/... via CL 19934534
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19935444 by chris babcock in ue5-main branch]
2022-04-27 00:46:11 -04:00
jonathan adamczewski
0a6164bbd3 nullability annotations, rethrow fixes, net6.0 warning suppression
#jira none
#trivial
#rnx
#preflight 62425155c61d8a458f230657

[CL 19536049 by jonathan adamczewski in ue5-main branch]
2022-03-28 20:50:06 -04:00
jonathan adamczewski
5c68d1d9ef Revert //UE5/Main/... changelist 19531725 - return to NET Core 3.1
#preflight 62422fd0470aff98e946bfce
#jira UE-119846

[CL 19534572 by jonathan adamczewski in ue5-main branch]
2022-03-28 18:25:19 -04:00
jonathan adamczewski
18ac15cbb1 Upgrade to .NET 6.0
#jira UE-119846
#preflight 6241fc06470aff98e943c035

[CL 19531725 by jonathan adamczewski in ue5-main branch]
2022-03-28 15:30:56 -04:00
dmytro vovk
d51a8c7d0b Wrap path cmd provided to clang into quotes to fix issue with path containing whitespaces
#jira UE-146631
#rb trivial
#preflight 623ca1b39f11d3c73944326c

[CL 19498182 by dmytro vovk in ue5-main branch]
2022-03-24 13:11:29 -04:00