Commit Graph

12 Commits

Author SHA1 Message Date
Ben Marsh
01b1222cc2 Only expand $(PluginDir) variables once we know they're needed; the code path is so frequently called that it shows up in the profiler.
[CL 2683699 by Ben Marsh in Main branch]
2015-09-08 16:42:08 -04:00
Ben Marsh
09aa8b2f62 Reduce time taken to generate receipts by using the target's view of the required modules, rather than recursively finding them from all the binaries. Also use the FileReferences for build products to optimize the way we escape build product paths.
[CL 2681758 by Ben Marsh in Main branch]
2015-09-05 18:10:25 -04:00
Ben Marsh
9610023ca5 Use FileReference and DirectoryReference classes instead of strings for paths. Massively reduces the amount of paranoid calls to GetFullPath(), CleanDirectorySeparators() et al., and improves performance for really common UBT operations like making relative paths or checking if files are under a directory. Strong typing ensures that intention of parameters is explicit.
[CL 2678429 by Ben Marsh in Main branch]
2015-09-03 08:47:24 -04:00
Peter Sauerbrei
71f234a0c4 UE-20500 - $(PlguinDir) can now be used in runtime dependencies
#ubt

[CL 2677410 by Peter Sauerbrei in Main branch]
2015-09-02 14:54:39 -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
Ben Marsh
3d6c0e0a81 Convert target receipts to JSON, so they can be read early at startup like version manifests, and unify the way that target receipts and version manifests are loaded and saved.
[CL 2669100 by Ben Marsh in Main branch]
2015-08-26 08:25:10 -04:00
Ben Marsh
93ee01c43e Remove unused variables from TargetReceipt.
[CL 2661248 by Ben Marsh in Main branch]
2015-08-19 13:46:30 -04:00
Ben Marsh
7f9774d740 Make it clearer that TargetReceipt.Read can fail if the file doesn't exist or is formatted incorrectly.
[CL 2649965 by Ben Marsh in Main branch]
2015-08-10 16:07:05 -04:00
Steve Robb
062ba9412f Makefiles enabled on Mac.
Explicit serialization functions used instead of reflection, to avoid deserialization problems on Mono.
Version number added to makefiles to allow versioning in future.
Makefiles still disabled if the host platform differs from the built platform, to continue to avoid any problems 'when building with RPCUtility'.

#codereview robert.manuszewski,michael.trepka

[CL 2643502 by Steve Robb in Main branch]
2015-08-04 11:20:50 -04:00
Ben Marsh
af29226566 Catch exceptions if the target receipt can't be read.
[CL 2629262 by Ben Marsh in Main branch]
2015-07-22 14:23:53 -04:00
Ben Marsh
dd08437233 Rename BuildReceipt to TargetReceipt, to clarify its purpose.
[CL 2629145 by Ben Marsh in Main branch]
2015-07-22 13:10:12 -04:00
Ben Marsh
1a44a273c1 Rename BuildReceipt.cs to TargetReceipt.cs to clarify what it's purpose is.
[CL 2629138 by Ben Marsh in Main branch]
2015-07-22 13:06:06 -04:00