Commit Graph

4251 Commits

Author SHA1 Message Date
dmytro vovk
8cc82453a7 Hide all exportable symbols on Android, except the ones called from Java
#rb Chris.Babcock
#jira none

#ushell-cherrypick of 19397674 by dmytro.vovk
#preflight 62311900f97ce4a80378cfc5

[CL 19398259 by dmytro vovk in ue5-main branch]
2022-03-15 19:10:08 -04:00
jonathan adamczewski
760399b892 UnrealBuildTool: Add -SaveCrashDumps option that will attempt to find and copy crash dump files to a specified location.
#jira none
#rnx
#preflight 623104afe50582311ac32ec6

[CL 19396686 by jonathan adamczewski in ue5-main branch]
2022-03-15 17:57:47 -04:00
Joe Kirchoff
cd86e301f5 UnrealBuildTool: Add /fastfail to cl.exe & link.exe to enable Windows Error Reporting to save crash dumps. Microsoft noted this won't have any adverse effect when no faults occur.
#rb trivial
#rnx
#preflight 623101cf7b5cb4076890d128

[CL 19396288 by Joe Kirchoff in ue5-main branch]
2022-03-15 17:35:59 -04:00
Tim Smith
681506d35e 1) Fix minor validation issue where TObjectPtr was being denied as a function return type. Also applied to lazy pointers.
2) Fixed TObjectPtr formatting for return value
3) Fixed TMap formatting when template arguments are also templates.
4) Fixed -Test option

#rnx
#rb trivial
#preflight 6230e6be6d230f4cc8ea6f7a

[CL 19391964 by Tim Smith in ue5-main branch]
2022-03-15 15:27:25 -04:00
chris babcock
3214d9485f Protect against additional configChanges which could terminate an Android application
#jira UE-116891
#android
[REVIEW] [at]Robert.Srinivasiah
#rb Robert.Srinivasiah

#preflight https://horde.devtools.epicgames.com/job/622be75f46679d56c32d8b47
#lockdown Nick.Whiting

#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 19366087 in //UE5/Release-5.0/... via CL 19366607
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19367967 by chris babcock in ue5-main branch]
2022-03-12 13:41:25 -04:00
chris babcock
be3d52e313 Added UPL registerBuildSettings node to list plugin ini settings that affect packaging
Added registerBuildSettings node to AndroidFileServer UPL

#jira UE-145479
#android
[REVIEW] [at]Robert.Srinivasiah
#rb Robert.Srinivasiah

#preflight https://horde.devtools.epicgames.com/job/622bb4b9902b7ca699dfe337
#lockdown Mitchell.Wilson

#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 19360716 in //UE5/Release-5.0/... via CL 19361833
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19364204 by chris babcock in ue5-main branch]
2022-03-11 19:02:48 -05:00
jonathan adamczewski
9c4a4792f3 UnrealBuildTool: New option -IgnoreInvalidFiles
When files are specified via -File= -SingleFile= or -FileList=, any file not valid for the target will be ignored.
If no individual files are found for the target, nothing will be built.

#jira none
#preflight 622bdc70ba14a5c27413c4e7
#rnx

[CL 19363943 by jonathan adamczewski in ue5-main branch]
2022-03-11 18:54:51 -05:00
Josh Adams
ed1fb28a68 - New CreateBuild Turnkey command to interactively create builds that can be run now, or saved for later (exposed to Editor Platforms menu)
- Started moving the code that turns ProjectPackagingSettings into BuildCookRun commandline from editor to C# so that we can run scripts without needing to bake out the commandline
- Updated ExecuteBuild to handle some new variables and such (like the new one for importing ProjectPackagingSettings into the commandline dynamically)
- Added ability to update a Default config file in C# (with limited functionality - set value and add array entry, with an enum we can extend later)
- Minor cleanup here and there
#rb david.harvey
#preflight 622b581ddf3960e506cf9a27
#preflight 622bb3f046679d56c3239a8c

[CL 19360380 by Josh Adams in ue5-main branch]
2022-03-11 15:51:57 -05:00
will damon
9150b53e06 Back out CL 19336418
- CL 19336418 introduced a regression in building the tools. Backing it out for now.

#rb self
#jira none
#rnx
#preflight n/a

[CL 19356312 by will damon in ue5-main branch]
2022-03-11 11:48:15 -05:00
Florin Pascu
d29533ae3a PropagateAlpha fix for Android
#jira none
#preflight 622b03ee0a614dcb0ce75c6b
#rb Chris.Babcock

[CL 19351631 by Florin Pascu in ue5-main branch]
2022-03-11 03:41:10 -05:00
tom noonan
d9b5159d0c Changing UBT VNI warning to be a log rather than a warning
[REVIEW] [at]markus.breyer
#preflight 622662cc9d201d1ecdf29955

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: tom.noonan
#ROBOMERGE-SOURCE: CL 19291953 via CL 19302958 via CL 19304646 via CL 19304944 via CL 19305118
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19347126 by tom noonan in ue5-main branch]
2022-03-10 21:02:35 -05:00
dmytro vovk
7c59ab907f Fixed client crash at FAndroidOpenGLFramePacer::InitSwappy
[REVIEW] [at]peter.sauerbrei, [at]chris.babcock
#rb trivial

#localization none
#tests tested locally

#ROBOMERGE-AUTHOR: dmytro.vovk
#ROBOMERGE-SOURCE: CL 19273104 via CL 19273156 via CL 19273191 via CL 19275273 via CL 19279275 via CL 19294478
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19345058 by dmytro vovk in ue5-main branch]
2022-03-10 19:37:49 -05:00
matt johnson
01a13093c2 UnrealBuildTool: use colon prefix with -l linker flag to support linking libraries on Linux without "lib" prefix
This addresses an issue on Linux where libraries that do not have the "lib"
prefix can go missing at link time because the linker ends up looking for the
library with the prefix. For example, a library with the filename "foo.so"
would result in the "-lfoo" flag being added to the link command, which would
then cause the linker to look for a library with the name "libfoo" that does
not exist.

#rb brandon.schaefer
#preflight 6227a18ba83706728750078b

[CL 19337849 by matt johnson in ue5-main branch]
2022-03-10 12:25:37 -05:00
dave hunter
63e760b25d Refactor Apple Platforms Compilation
This work aims to make it so more of the work to compile files between the various Apple platforms is shared.

#rb andrew.grant
#jira UE-111577
#preflight none
#rnx

[CL 19336418 by dave hunter in ue5-main branch]
2022-03-10 10:41:46 -05:00
joe kirchoff
8024527e55 [Backout] - CL19292426
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: bPreprocessDepends for LinuxToolChain

#rb trivial
#rnx
#preflight 6222b1759a2bb63d197e8fe0

[CL 19327816 by joe kirchoff in ue5-main branch]
2022-03-09 18:39:31 -05:00
Brandon Schaefer
b77c0617f8 Re-add printing build details
#jira none
#rb none
#fyi Michael.Sartain
#preflight none

[CL 19293091 by Brandon Schaefer in ue5-main branch]
2022-03-07 17:25:43 -05:00
Joe Kirchoff
abd6a221c6 UnrealBuildTool: bPreprocessDepends for LinuxToolChain
#rb trivial
#rnx
#preflight 6222b1759a2bb63d197e8fe0

[CL 19292426 by Joe Kirchoff in ue5-main branch]
2022-03-07 16:47:05 -05:00
Tim Smith
76e9046282 Adding a simpler command line option to UHT mode where it will generate the manifest instead of depending on one already being generated. This will greatly simplify testing in the future by allowing A/B testing to be done without the need of building the target (to get the manifest)
#rb trivial
#rnx
#preflight 622272d2945d64b4ec42cf9e

[CL 19273756 by Tim Smith in ue5-main branch]
2022-03-04 15:23:52 -05:00
Brandon Schaefer
9b6a30e32d Add path to find asan headers if needed when enabling ASan
#jira UE-144727
#rb none
#fyi Joe.Kirchoff
#preflight none

[CL 19273545 by Brandon Schaefer in ue5-main branch]
2022-03-04 15:16:30 -05:00
jack porter
67debc4da3 Escape brackets and parenthesis in IOS Remote Toolchain remote paths to prevent the shell trying to match using them.
#jira UE-144654
#preflight 6221ec82ef188a763d58daaa
#rb Florin.Pascu
#lockdown mitchell.wilson

#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 19265973 in //UE5/Release-5.0/... via CL 19266099
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19270211 by jack porter in ue5-main branch]
2022-03-04 13:31:30 -05:00
dave hunter
25be456263 Engine targets for Mac installed builds
This forces UBT to always include an engine target for Mac installed builds

#jira UE-142717
#rnx
[REVIEW] [at]will.damon
#preflight none

#ROBOMERGE-AUTHOR: dave.hunter
#ROBOMERGE-SOURCE: CL 19247899 in //UE5/Release-5.0/... via CL 19251731
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19263217 by dave hunter in ue5-main branch]
2022-03-04 03:24:38 -05:00
Tim Smith
f02b950a8b Updating RunUHT to also check for EpicGames.UHT.
Added comment to UnrealBuildTool.csproj to make people aware the change should be done when adding new project references.

#rb jonathan.adamczewski
#rnx
#preflight 6220f43a6a33f9b416af4a7d

[CL 19245876 by Tim Smith in ue5-main branch]
2022-03-03 12:22:13 -05:00
Tim Smith
2bf67af6e7 UHT in UBT initial version. Currently disabled.
Tested against UnrealEditor, ShooterGame, QAGame, FortniteGame, Lyra, CitySample, and a local project

Ciode review was a preliminary review for a coding style.

#rnx
#rb jonathan.adamczewski, joe.kirchoff
#preflight 6220cfb76f26901529b6514e

[CL 19243710 by Tim Smith in ue5-main branch]
2022-03-03 09:59:05 -05:00
markus breyer
83a1800927 Introduced new property "VersePath" in plugin descriptor and module rules
#rb jonathan.adamczewski, tim.tillotson
#rnx
#preflight 6216ef19104496cff8ae5564

#ROBOMERGE-AUTHOR: markus.breyer
#ROBOMERGE-SOURCE: CL 19224088 via CL 19227926 via CL 19237742 via CL 19237888 via CL 19238470
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19239355 by markus breyer in ue5-main branch]
2022-03-03 01:26:50 -05:00
Brandon Schaefer
abb990ba22 Fix cross building the Linux UnrealEditor from Windows where we no longer was running the FixDeps.bat script which is required to resolve circular depends issues
#jira UE-140387
#rb Michael.Sartain
#preflight none

[CL 19221827 by Brandon Schaefer in ue5-main branch]
2022-03-02 10:35:58 -05:00