Commit Graph

50 Commits

Author SHA1 Message Date
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
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
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
1a3dd69d01 HTML5 CIS bodge. Looks like we need to update SDK.
[CL 2462021 by James Moran in Main branch]
2015-02-26 07:26:51 -05:00
James Moran
f1320865f9 Many improvements to HTML5.
- Fixes to the Mac HTML5 Device selection. .app files now work correctly.
- Re-enabled HTML5 in Mac Editor.
- Added HTML5LaunchHelper executable to clean up the process of LaunchOn for HTML5.
- Improve HTML5 SDK Settings Editor interface. Only the emscripten install directory is needed now, SDK version are automatically picked up and selected for use.
- Change UnrealPak to also account for bytes saved (>64KB) and percentage size of original file (<90%) when choosing to automatically turn off compression.
- Added Server Port option for HTML5 deploy to stop clashes on port 8000
- Adding more logging for use during debugging & tracing.
- Added an option to turn on HTML5 tracing api and added calls to the api.
- Fix up check() macros to throw alert messages and be more clear that something has gone wrong on HTML5.

#codereview Ankit.Khare

[CL 2452979 by James Moran in Main branch]
2015-02-20 04:41:01 -05:00
Ankit Khare
194e3f095e #HTML5
Force ThirdParty libs to be linked in always last. Linker may refuse to link in archives if they are linked in before the linker encounters dependent symbols. (fixes unresolved symbols in html5 rocket build )

[CL 2409758 by Ankit Khare in Main branch]
2015-01-16 18:19:59 -05:00
Ben Marsh
b321e6f43b Bit of housekeeping before adding list of dependencies into UBT's manifest:
* Renamed FileManifest to BuildManifest and FileManifestItems to BuildProducts, to more accurately reflect what they are.
* Removed ref qualifier when passing BuildManifest around; it's already a reference type, and not meant to be assigned to.
* Removed UAT's redundant copy of BuildManifest, since it already references the UBT assembly.

[CL 2406323 by Ben Marsh in Main branch]
2015-01-14 15:46:41 -05:00
Peter Sauerbrei
81c8e0a75a fix for build spam
UE-6858
#html5

[CL 2401421 by Peter Sauerbrei in Main branch]
2015-01-08 17:38:47 -05:00
James Moran
d53e2c908c Fix for linking issues on HTML5. Don't link libraries when building libraries.
#codereview ankit.khare

[CL 2383362 by James Moran in Main branch]
2014-12-10 09:08:03 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Peter Sauerbrei
7cf86529e2 addition of build settings to ini files
part of UEPLAT-114
#ue4

[CL 2374039 by Peter Sauerbrei in Main branch]
2014-12-02 14:58:59 -05:00
Ankit Khare
f0430510cd SDL2 upgrade from the SDK provided SDL1.3 for HTML5 Platform.
[CL 2365228 by Ankit Khare in Main branch]
2014-11-19 13:56:35 -05:00
Ankit Khare
ac82f8cc00 correctly qoute emscripten compiler path to fix issues when the path has spaces. fixes UE-5177
[CL 2355467 by Ankit Khare in Main branch]
2014-11-10 21:54:46 -05:00
Ankit Khare
060ff917ef fix incorrect html5 sdk discovery in tool chain.cs
[CL 2353750 by Ankit Khare in Main branch]
2014-11-07 18:06:06 -05:00