Commit Graph

3549 Commits

Author SHA1 Message Date
Ben Marsh
1aba59a750 Allow rules assemblies to be empty, and not require any module source files to be loaded. The target may just use source files from the parent assembly.
[CL 2674648 by Ben Marsh in Main branch]
2015-08-31 16:44:02 -04:00
Ben Marsh
d87ae5fd1c Fix failure to get module filename for engine modules.
[CL 2674258 by Ben Marsh in Main branch]
2015-08-31 12:59:09 -04:00
Ben Marsh
28f7c6d8f9 Move the AddDefaultIncludePathsToModuleRules() function into UEBuildTarget, since it's not related to the RulesCompiler.
[CL 2674243 by Ben Marsh in Main branch]
2015-08-31 12:47:36 -04:00
Ben Marsh
d06ce0c4a0 Compile rules for the engine into separate assemblies than rules for each project, so we aren't redundantly compiling them more than once. Also compile rules for each foreign plugin into its own assembly. Reduces time taken to generate project files by almost half (~40s to ~26s) in local testing.
#codereview Peter.Sauerbrei

[CL 2674225 by Ben Marsh in Main branch]
2015-08-31 12:39:51 -04:00
Ben Marsh
0a89383b5a Explicitly compile the rules assembly and pass it around as a parameter, rather than caching it as global state in RulesCompiler.
[CL 2674051 by Ben Marsh in Main branch]
2015-08-31 10:33:16 -04:00
Chris Babcock
a939d907d6 Add launch image support for Android (disabled for GearVR)
#ue4
#android

[CL 2673367 by Chris Babcock in Main branch]
2015-08-28 19:34:42 -04:00
Ben Marsh
a5870715bf Move the RulesAssembly class out of the RulesCompiler, so we don't have to rely on state in RulesCompiler.
[CL 2672933 by Ben Marsh in Main branch]
2015-08-28 16:02:15 -04:00
Ben Marsh
6f3e34fcae Track references to dependent modules rather than just keeping their name. Saves having to look up module names repeatedly.
[CL 2672889 by Ben Marsh in Main branch]
2015-08-28 15:47:20 -04:00
Jeff Campeau
37c192be08 Don't try to expant empty architectures, only missing one.
Several platforms have empty architectures and we shouldn't call build code when staging if we can avoid it.

[CL 2672679 by Jeff Campeau in Main branch]
2015-08-28 14:37:12 -04:00
Dmitry Rekman
8819455da2 UnrealFrontend: fix Linux build.
[CL 2672520 by Dmitry Rekman in Main branch]
2015-08-28 12:54:22 -04:00
Peter Sauerbrei
d9ea1593e1 UE-20492 - fix for utilizing the path instead of the uproject name for finding the plist file
#ios

[CL 2672352 by Peter Sauerbrei in Main branch]
2015-08-28 11:35:49 -04:00
Ben Marsh
766278f542 Pass the module rules into the constructor module instances, rather than passing all the parameters individually. The number of things that get passed around is getting silly, and keeping the two things as ideologically separate is time consuming and hard to maintain.
[CL 2672163 by Ben Marsh in Main branch]
2015-08-28 08:39:42 -04:00
Ben Marsh
42c53cf179 Change IUEBuildPlatform.ModifyNewlyLoadedModule to IUEBuildPlatform.ModifyModuleRules(). Only modifying the rules object rather than the implementation itself makes it easier to optimize caching module references.
[CL 2672146 by Ben Marsh in Main branch]
2015-08-28 07:27:26 -04:00
Matthew Griffin
ccd90b10b4 Listing runtime dependencies in module rules instead of InstalledEngineFilters.ini
Added code when filtering rocket files to search through build products for target files and add their runtime dependencies to the filter rules.

#jira UEB-372

[CL 2672116 by Matthew Griffin in Main branch]
2015-08-28 06:22:07 -04:00
James Moran
52722d49c4 Don't use AppendLine on StringBuilder is it outputs system dependent line endings. Manually output \\n instead.
Fixes UE-20380

[CL 2672115 by James Moran in Main branch]
2015-08-28 06:22:04 -04:00
Peter Knepley
0d3a5d6e41 Dedicated servers should stage needed engine content for crash reporter
Merging 2671465

//depot/UE4-UT/...

to //depot/UE4/...

#codereview James.Golding

[CL 2671550 by Peter Knepley in Main branch]
2015-08-27 17:11:21 -04:00
Mike Fricker
e85564743c [INTEGRATE] Unreal Build Tool: Adaptive unity builds (experimental!)
- New UBT support for "adaptive unity builds", which can greatly increase iterative compile times
- This feature allows UBT to keep track of which source files you're currently editing between runs
- UBT will exclude your "working set" source files from all unity blob files, allowing for fast iterative compiles!
- Currently, adaptive unity builds relies on files being writable vs. read-only to determine what you're working on (P4 edit)
- Enable this new feature in your BuildConfiguration.xml file.

    <BuildConfiguration>
           <bUseAdaptiveUnityBuild>true</bUseAdaptiveUnityBuild>
    </BuildConfiguration>

[CL 2671467 by Mike Fricker in Main branch]
2015-08-27 16:33:06 -04:00
Ben Marsh
5498742642 Escape characters in filenames which aren't valid in XML attributes.
[CL 2671097 by Ben Marsh in Main branch]
2015-08-27 12:46:47 -04:00
Steve Robb
f402464961 Fix for FToken stack corruption when NAME_SIZE is changed.
#codereview robert.manuszewski

[CL 2670879 by Steve Robb in Main branch]
2015-08-27 10:22:25 -04:00
Bob Tellez
90c7a965a1 [AUTOMERGE]
#UE4 Unattended CrashReportClient now defaults to send log file and personal information if no configs are present (like in thin dedicated server builds).

#RB ben.zeigler

#codereview Jaroslaw.Surowiec

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2670208 by Bob.Tellez on 2015/08/26 18:33:42.

[CL 2670224 by Bob Tellez in Main branch]
2015-08-26 18:35:38 -04:00
Ben Marsh
41418d33f7 Fix incorrect code to check whether a target receipt exists.
[CL 2669915 by Ben Marsh in Main branch]
2015-08-26 16:43:29 -04:00
Daniel Lamb
a1f7e17ea0 Added some more warnings when stats directory was not found.
[CL 2669723 by Daniel Lamb in Main branch]
2015-08-26 15:19:22 -04:00
Peter Sauerbrei
5e0ec6c322 UE-20341 - fixed issues with needing to cook server when cooking client
[CL 2669593 by Peter Sauerbrei in Main branch]
2015-08-26 14:17:28 -04:00
Daniel Lamb
5ffd3add58 Fixed builder issue when stats directory is not created don't copy the stats files.
#codereview Peter.Sauerbrei

[CL 2669394 by Daniel Lamb in Main branch]
2015-08-26 12:03:32 -04:00
Ben Marsh
2b9d41c10f Fix ability to compile foreign plugins against a target (required by BuildPlugin command in UAT).
[CL 2669317 by Ben Marsh in Main branch]
2015-08-26 11:16:36 -04:00