Ben Marsh
0aa484bda0
Toolchains are now instanced to allow storing project and target specific configuration details. Required for UBT to support multiple targets. Removed IUEToolChain, which wasn't being used directly.
...
[CL 2707252 by Ben Marsh in Main branch]
2015-09-27 13:05:49 -04:00
Ben Marsh
df83418aeb
Auto-format UBT for consistent spacing. All default Visual Studio settings, but tabs instead of spaces.
...
[CL 2704665 by Ben Marsh in Main branch]
2015-09-24 12:37:21 -04:00
Peter Sauerbrei
e706287759
Speed up reading and accessing ini files from UAT/UBT
...
#uat
#ubt
#codereview ben.marsh, wes.hunt
[CL 2691637 by Peter Sauerbrei in Main branch]
2015-09-15 09:29:42 -04:00
Dmitriy Dyomin
d8e2942b39
Android reliably logs crash callstack
...
libnvToolsExt (used for PhysX profiling) installs signal handlers which prevent us and Android to report crashes, to avoid this we link UE4 to stubed vesrsion of libnvToolsExt (by default)
#jira UEMOB-57
#codereview Jack.Porter, Chris.Babcock
[CL 2687553 by Dmitriy Dyomin in Main branch]
2015-09-11 00:42:40 -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
Chris Babcock
1e86f492b6
Patch newer NDK (r10) cpu-features.c to deal with libhoudini.so SIGSEGV on older versions of Houdini if patch not already applied
...
#jira UE-20024
#ue4
#android
#codereview Peter.Sauerbrei
[CL 2658261 by Chris Babcock in Main branch]
2015-08-17 15:39:27 -04:00
Chris Babcock
a74fbe9661
Strip debug symbols from libgnustl_shared.so for distribution builds on Android
...
#jira UE-20040
#ue4
#android
[CL 2657038 by Chris Babcock in Main branch]
2015-08-14 19:32:56 -04:00
Chris Babcock
28d1b83a10
Use gnu-libstdc++ 4.8 for NDK level 19, and allow 4.9 for higher NDK levels
...
Only use ld.gold for Clang 3.6 if unity build
#jira UE-10647
#ue4
#android
[CL 2644345 by Chris Babcock in Main branch]
2015-08-04 19:58:25 -04:00
Chris Babcock
7ca5633698
Only use -fno-function-sections on Clang 3.6 or later on Android
...
#jira UE-19242
#ue4
#android
[CL 2634509 by Chris Babcock in Main branch]
2015-07-27 16:37:38 -04:00
Chris Babcock
03ea741ccd
Skip vrapi library for unsupported Android platforms
...
#jira UE-19090
#ue4
#android
#codereview Nick.Whiting
[CL 2631176 by Chris Babcock in Main branch]
2015-07-23 15:51:41 -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
Chris Babcock
a14524e7c3
Improved Android ARMv7 debug flags and moved UELinkerExceptions to Launch module to prevent multiple linking on x86_64
...
#ue4
#android
[CL 2619142 by Chris Babcock in Main branch]
2015-07-13 19:25:58 -04:00
Chris Babcock
ec92cfe396
Enable ld.gold on r10e (clang 3.6) and add in arguments for arm64 compiling
...
#ue4
#android
#codereview Josh.Adams
[CL 2594343 by Chris Babcock in Main branch]
2015-06-19 16:56:11 -04:00
Chris Babcock
b6df0fec88
Android x86_64 support - pr #914 (also adds support for ndk-r10e clang 3.6)
...
#ue-11650
#ue4
#android
#codereview Josh.Adams
[CL 2590354 by Chris Babcock in Main branch]
2015-06-17 12:56:56 -04:00
Chris Babcock
c2eebb3d9c
Remove forced shadow variable warning
...
#ue4
#android
#codereview Marc.Audy
[CL 2579240 by Chris Babcock in Main branch]
2015-06-05 19:18:22 -04:00
Chris Babcock
0ecf89ee36
Enable shadow warnings for Android targets and clean up the ones found
...
#ue-14251
#ue4
#android
#codereview Marc.Audy,Ryan.Gerleve
[CL 2579237 by Chris Babcock in Main branch]
2015-06-05 19:15:39 -04:00
Robert Jones
9e07b9d8d8
UEPLAT-831 - AndroidManifest.xml update for ES3.1 targets
...
- Changed MakeAPK loop so that it can deal with multiple manifests
- Removed ability to make a Fat APK from same code as we don't/won't use it
[CL 2566503 by Robert Jones in Main branch]
2015-05-27 09:21:57 -04:00
Steve Robb
499def698b
UBT cleanups:
...
* Removal of some null checks.
* Some arrays changed to Lists.
* Some lists changed to IEnumerables.
* Some loops changed to Linq actions.
* FilterOnlyModules and FilterGameModules renamed to GetFiltered* functions, which better represent what they do.
* Some indentation fixes.
* Some thrown exceptions moved around to more appropriate locations.
#codereview robert.manuszewski
[CL 2554771 by Steve Robb in Main branch]
2015-05-18 08:16:56 -04:00
Chris Babcock
eb13f6963f
Include native Android glue in Launch module
...
#ue4
#android
#ue-15473
#codereview Josh.Adams,Ben.Marsh
[CL 2548173 by Chris Babcock in Main branch]
2015-05-12 19:22:06 -04:00
Chris Babcock
f717a84027
Fix Android StripSymboils to only strip symbols (missing parameter)
...
#ue4
#android
#codereview Josh.Adams,Ben.Marsh,Dmitry.Rekman
[CL 2539603 by Chris Babcock in Main branch]
2015-05-06 14:22:02 -04:00
Ben Marsh
f1d8b60d57
Add symbol stripping at the IUEToolChain level. Implemented for Windows, Linux, Android arm7.
...
#codereview Dmitry.Rekman, Chris.Babcock
[CL 2527125 by Ben Marsh in Main branch]
2015-04-27 12:53:24 -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
Ben Marsh
072fc6469d
Don't add APKs to manifest for static libraries.
...
#codereview Chris.Babcock
[CL 2487260 by Ben Marsh in Main branch]
2015-03-21 21:56:18 -04:00
Ben Marsh
733b23cc85
Fix linking against binaries relative to the engine root on Android.
...
#codereview Chris.Babcock
[CL 2487256 by Ben Marsh in Main branch]
2015-03-21 20:49:17 -04:00