Commit Graph

41 Commits

Author SHA1 Message Date
Wes Hunt
7fa290bb33 Summary: running UAT from VS is simpler and faster.
UEB-261 - Ensure that compiling AutomationTool in VS will compile all other Automation Projects
* Just set AutomationTool as your startup project and pass the command to execute.
* VS will build the script modules at build time, instead of every time at runtime.
* To make this happen, "UBT.exe -ProjectFiles" now generates a companion AutomationTool.csproj.References that make AutomationTool depend on all Automation modules.
* AutomationTool.exe defaults to not building script modules at runtime. Pass -compile if you want to dynamically build them.
* Without the .references file, AutomationTool will only build itself and you will need to pass -compile.
* RunUAT.bat still works that same, defaulting to runtime compilation and supporting -nocompile flag. It then passes -compile (or nothing) to AutomationTool.

Other
* All Automation projects target .Net 4.5. Some already were and had hard dependencies on them (Rocket and SyncGithub -> Octokit). Now that AutomationTool directly depends on them, everything had to use .Net 4.5.
* Decoupled logic for -NoCompile and -NoCompileEditor. The flags are still confusing, but -NoCompile is no longer linked to -NoCompileEditor.
* Had to leave in stub support in UAT for -NoCompile else RunUAT.bat passes it along and UAT complains that it doesn't understand it.
* Added a CommandUtils.Run option to support run command, but still output the run duration.
* Reduced the verbosity when UAT.proj is run from dozens of lines per module to a single Module -> Output line. It was looking like there were problems, but it was just msbuild spew.
#codereview:ben.marsh

[CL 2615060 by Wes Hunt in Main branch]
2015-07-09 10:15:37 -04:00
Wes Hunt
506f7e64a4 UEB-260 - Break AutomationTool into AutomationUtils that all automation projects depend on, and AutomationTool, which essentially only contains the startup code.
* Remove ErrorReporter.Error, replace with AutomationException with Error Code.
* Move ErrorCodes to AutomationException.
* Don't return exit codes. Solely rely on exceptions to propagate exit codes.
* Remove MainProc delegate
* Remove setting of Environment.ExitCode as it is ignored when main returns an int.
* ShutdownLogging is nothrow, as all exceptions would be ignored anyway.
* Wrap all shutdown steps so further ones get a chance to run.
* Move HostPlatform.Initialize into the global try/catch block
#codereview:ben.marsh

[CL 2605826 by Wes Hunt in Main branch]
2015-06-30 11:40:05 -04:00
Dmitry Rekman
85d026ee75 Linux: fix LND deployment issues in Rocket (UE-14996).
- Also fix LND build script.

[CL 2543695 by Dmitry Rekman in Main branch]
2015-05-08 17:11:35 -04:00
Dmitry Rekman
8b80d8bdfb UAT: Fix LaunchOn under Linux (UE-5491).
- Use the binary name that matches the staged binary.
- Do not require IP if running under Linux and not starting remotely.

[CL 2538679 by Dmitry Rekman in Main branch]
2015-05-06 00:52:29 -04:00
Dmitry Rekman
4ce69dedc0 Linux: do not stage LND for dedicated servers.
[CL 2530362 by Dmitry Rekman in Main branch]
2015-04-29 11:30:06 -04:00
Dmitry Rekman
cb534be4fc UAT: fix staging of libLND on Linux.
[CL 2521452 by Dmitry Rekman in Main branch]
2015-04-22 14:50:10 -04:00
Dmitry Rekman
2ceb9e36ef Updated UELinuxNativeDialogs.
- Updated to latest from Rush (encharm).
- Further simplified the install - no need to build LND locally anymore (on Ubuntu).
- Staging fixed to include LND libs.
- Added clang requirement as suggested in PR #1066 (previously clang version was up to the user).

[CL 2516336 by Dmitry Rekman in Main branch]
2015-04-17 15:45:42 -04:00
Josh Adams
86f2e08a55 - Added support for DesktopPlatform to package content and executables together (editor's File | Package)
- This is a first pass
  - Mac uses data outside the .app so that there's only one copy of the content. This should get a bootstrap executable like Windows has
  - Only tested on Mac so far, although it doesn't handle D3D11 shaders, or some of the icon updating for the bootstrap working
- Added Desktop platform icons

[CL 2505866 by Josh Adams in Main branch]
2015-04-08 16:59:20 -04:00
Dmitry Rekman
746735499a Make CrashReportClient optional when packaging for Linux.
- Requirement to build CrashReportClient when packaging projects on/for Linux may be non-obvious, especially for users building from sources (UE-12063).

#codereview Ben.Marsh

[CL 2485254 by Dmitry Rekman in Main branch]
2015-03-19 17:27:55 -04:00
Bart Bressler
ecdb763c35 Upgrade Steamworks to 1.32
#codereview josh.markiewicz

[CL 2467022 by Bart Bressler in Main branch]
2015-03-02 17:24:21 -05:00
Terence Burns
6f98decbcd UE-8433
Added an error code for missing ue4game binaries when packaging a non code project.
Added a check in main frame actions to determine whether we display a dialog with the error message in it.

Fix for incorrect IOS stub path being logged
Fix for incorrect Android apk path being generated for non ue4game renames in ::GetFinalApkName

[CL 2427458 by Terence Burns in Main branch]
2015-02-01 12:33:30 -05:00
Peter Knepley
51790a730f Stage non-monolithic support for non-Development builds
[CL 2416062 by Peter Knepley in Main branch]
2015-01-22 18:17:16 -05:00
Michael Trepka
98dc0aa5fe Removed conditional inclusion of most platform files in UBT project so the same project can be used in Visual Studio and Mono Develop/Xamarin Studio, removed _Mono UBT and UAT projects, updated automation scripts to be compatible with Mono 3.10
[CL 2388812 by Michael Trepka in Main branch]
2014-12-15 15:28:22 -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
Ben Marsh
959cfa782d Add missing copyright notices to source files.
[CL 2379212 by Ben Marsh in Main branch]
2014-12-06 19:14:20 -05:00
Saul Abreu
44baed0ff7 Added settings for staging internationalization presets. Updated staging logic to stage ICU internationalization data presets from commandline arguments or settings. Added default settings for internationalization presets.
[CL 2341735 by Saul Abreu in Main branch]
2014-10-27 19:33:51 -04:00
Saul Abreu
a05e2d523e Corrected platform-specific ICU data staging logic that was using the old paths.
[CL 2339348 by Saul Abreu in Main branch]
2014-10-23 19:42:28 -04:00
Peter Knepley
6370d7886e Fix linux staging
[CL 2313328 by Peter Knepley in Main branch]
2014-09-29 16:01:32 -04:00
Peter Sauerbrei
bcaa096da8 fix for Tappy Chicken not launching past splash screen on iOS
fix for Android unable to launch projects via UFE
fix for Project Launcher default roles settings not being used
TTP347511, TTP347613, TTP347768
#ue4

[CL 2311418 by Peter Sauerbrei in Main branch]
2014-09-26 15:27:39 -04:00
Peter Knepley
5d6f3b119d Modular staging
[CL 2307306 by Peter Knepley in Main branch]
2014-09-23 15:45:22 -04:00
Dmitry Rekman
3dd3dc494f Linux host platform for UAT.
- Note: target framework for UAT (mono project) is upped to 4.5 to match UBT.

#codereview Josh.Adams, Michael.Trepka, Kellan.Carr, Gil.Gribb

[CL 2285233 by Dmitry Rekman in Main branch]
2014-09-04 17:31:34 -04:00
Dmitry Rekman
9296da3401 Minor: made comments around previous change more meaningful.
[CL 2276633 by Dmitry Rekman in Main branch]
2014-08-28 15:45:05 -04:00
Dmitry Rekman
f3c7a57094 Rename the binary when packaging content-only projects for Linux.
No more UE4Game, the binary will have the project project name and will be placed in <Project>/Binaries/Linux/.

TTP #338841

[CL 2276622 by Dmitry Rekman in Main branch]
2014-08-28 15:40:04 -04:00
Dmitry Rekman
e75a96a05b Belated update of Steamworks to v130.
#codereview Josh.Markiewicz

[CL 2273225 by Dmitry Rekman in Main branch]
2014-08-26 18:26:04 -04:00
Dmitry Rekman
7c67f7f9d3 PerfCounters for Wash.
- Configured by GameDir/Config/PerfCounters.json (should be deployed by UAT now).
- Shared memory regions have a name of perfcounters-of-pid-%d.

#codereview Josh.Markiewicz, Bob.Tellez, Ivan.Horvath, Josh.Adams

[CL 2272832 by Dmitry Rekman in Main branch]
2014-08-26 16:15:35 -04:00