Commit Graph

102 Commits

Author SHA1 Message Date
Ben Marsh
511af0caa7 Only add shader format and target platform modules as dependencies of the TargetPlatform module. Adding them for every single module in a target has a huge effect on the number of modules we need to resolve (UEBuildTarget.FindOrCreateModuleByName() was being called 200,000 times when generating project files, thanks to SCW and UFE triggering these code paths).
#codereview Peter.Sauerbrei

[CL 2684709 by Ben Marsh in Main branch]
2015-09-09 11:03:25 -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
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
James Moran
a892538094 Fix handling of spaces in emcc path.
Fix Optimizer path on Mac
fix jira-19532 part 2

[CL 2647762 by James Moran in Main branch]
2015-08-07 07:10:38 -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
Ankit Khare
9f0dbaee08 #html5 fix packaging when prebuildsync was not called ( packaging content only games, sync'd from perforce)
[CL 2622371 by Ankit Khare in Main branch]
2015-07-15 16:37:24 -04:00
Ankit Khare
ce28ed2dfd #html5 html5 sdk has a race condition when handling temporary folders in a custom location. Fix by removing offiending code in the SDK and recreate the temp folder in UBT before build.
#codereview james.moran , ben.marsh

[CL 2620387 by Ankit Khare in Main branch]
2015-07-14 13:06:21 -04:00
Ankit Khare
da60e1c22b #html5 move emscripten cache to platform intermediate dir. fix an issue with CL 261593 where PlatformIntermediateFolder was not set during packaging, using explicit name instead.
#codereview james.moran

[CL 2615600 by Ankit Khare in Main branch]
2015-07-09 15:31:44 -04:00
James Moran
76ab578ac3 Override '.emscripten' config file location for UBT builds.
#codereview ankit.khare

[CL 2614969 by James Moran in Main branch]
2015-07-09 09:12:36 -04:00
Ankit Khare
03b4dcc227 #html5 correct sanity check for the emscripten config file, always recreate if not created by UE4 build system.
[CL 2612909 by Ankit Khare in Main branch]
2015-07-07 17:16:21 -04:00
Ankit Khare
9b38554ee8 UEPLAT-826 : use HTML5 SDK from third party directories.
- Always pickup HTML5 sdk from third party directory.
   - Use the new html5 template by default.

[CL 2610587 by Ankit Khare in Main branch]
2015-07-04 18:45:54 -04:00
Ben Marsh
e0a010415b Treat shadow variable warnings as errors in non-unity builds.
[CL 2582001 by Ben Marsh in Main branch]
2015-06-09 18:14:52 -04:00
Ankit Khare
6d20221f39 Use a response file instead of spawning a process with a really long command line. #html5
[CL 2581646 by Ankit Khare in Main branch]
2015-06-09 15:17:07 -04:00
Ben Marsh
16473b93ed Turn shadow variable warnings back into warnings; they are breaking too many builds.
#codereview Marc.Audy

[CL 2561102 by Ben Marsh in Main branch]
2015-05-21 13:59:00 -04:00
Ankit Khare
d95352df87 UE-15926 : missing symbols file.
make sure the the generated symbols file is checked in.

#codereview josh.adams

[CL 2559399 by Ankit Khare in Main branch]
2015-05-20 15:30:36 -04:00
Ankit Khare
bd6ee8ccad UE-8662: unresponsive script warning when using development buids.
- don't include debuggin info / minify development builds - cuts development binary size from 200Mb to 69Mb.
  - generate symbols file
  - modify template to download this symbols file on the fly on a crash and use it generate an unmangled and unminified callstack. ( we now have real callstacks for shippign builds!)

#codereview josh.adams , james.moran

[CL 2556055 by Ankit Khare in Main branch]
2015-05-18 18:27:24 -04:00
Ben Marsh
6b1d263572 Make bEnableShadowVariableWarnings a per-module setting, so we don't break reuse of shared build intermediates.
#codereview Marc.Audy, Wes.Hunt

[CL 2547047 by Ben Marsh in Main branch]
2015-05-12 08:03:21 -04:00
James Moran
1e09f3b5bd Add -Wshadow on HTML5. Fixed errors relating to it. UE-14250
Fixed some potential issues from incoming SDK release. Removed unnecessary js lib.

[CL 2524336 by James Moran in Main branch]
2015-04-24 10:49:50 -04:00
Ankit Khare
5cf849a5a1 Enable HTML5 for Mac Rocket
#codereview ben.marsh

[CL 2519794 by Ankit Khare in Main branch]
2015-04-21 15:42:57 -04:00
Ben Marsh
3a7e022d4c Generate build receipts from UBT, which keep a record of all the files written for a target and records any metadata needed to stage or deploy it.
[CL 2501101 by Ben Marsh in Main branch]
2015-04-03 10:25:57 -04:00
James Moran
d97a8ef83b Disable constructor member init order warning for HTML5
[CL 2493402 by James Moran in Main branch]
2015-03-27 04:50:46 -04:00
Ben Marsh
a362ebae73 Don't add mem files to manifest for HTML5
[CL 2487248 by Ben Marsh in Main branch]
2015-03-21 19:35:46 -04:00
James Moran
b78ecd3230 Handle falling back to EMSCRIPTEN env var correctly.
[CL 2485922 by James Moran in Main branch]
2015-03-20 05:20:34 -04:00
James Moran
f5973b69f2 HTML5 SDK setup catches bogus SDK paths.
[CL 2485406 by James Moran in Main branch]
2015-03-19 18:51:34 -04:00