Commit Graph

160 Commits

Author SHA1 Message Date
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
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
Nick Whiting
839f04ca22 #oculus Updating runtimes to 0.7.0 (Desktop) and 0.6.1 (Mobile)
#jira UE-20291

[CL 2681668 by Nick Whiting in Main branch]
2015-09-05 13:39:13 -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
a939d907d6 Add launch image support for Android (disabled for GearVR)
#ue4
#android

[CL 2673367 by Chris Babcock in Main branch]
2015-08-28 19:34:42 -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
Chris Babcock
135c16d021 Handle issue with spaces in path when stripping debug symbols from libgnustl_shared.so distribution builds
#jira UE-19627
#ue4
#android

[CL 2659999 by Chris Babcock in Main branch]
2015-08-18 17:00:00 -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
9c6add976a Keep the last export of each path from .bash_profile instead of the first one if not set in ini
#jira UE-19619
#ue4
#android
#codereview Michael.Trepka,Mark.Satterthwaite

[CL 2645674 by Chris Babcock in Main branch]
2015-08-05 18:10:38 -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
e9f1d20716 Replace TADP with AndroidWorks
#ue4
#android

[CL 2639322 by Chris Babcock in Main branch]
2015-07-30 16:20:19 -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
Chris Babcock
76de37fc6f Added long suffix to file length in generated OBBData.java
PR #1405: added specific suffix for long (Contributed by demuyan)
#jira UE-19053
#ue4
#android
#codereview Robert.Jones

[CL 2630759 by Chris Babcock in Main branch]
2015-07-23 12:03:25 -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
Robert Jones
a3a387121b Added code to perform a clean up for generated files - can be an issue if project names change during development for example.
Also added code to clean up empty directories in the same area to reduce any mess that could be left behind.

#codereview chris.babcock

[CL 2628717 by Robert Jones in Main branch]
2015-07-22 06:06:03 -04:00
Chris Babcock
5a460949c4 Corrected issue with trying to write over read-only libvrapi.so file in intermediate directory on Android
#jira UE-18761
#ue4
#android
#codereview Nick.Whiting

[CL 2626491 by Chris Babcock in Main branch]
2015-07-20 15:46:27 -04:00
Chris Babcock
1c4c6bc120 Fix dependency on libvrapi.so, for now always include it for armv7, will fix this with plugin dependency system later
#ue4
#android
#jira UE-18761
#codereview Nick.Whiting

[CL 2624851 by Chris Babcock in Main branch]
2015-07-17 16:34:33 -04:00
Dmitry Rekman
ce0e9c539a Fix UBT.
#codereview Nick.Whiting

[CL 2622081 by Dmitry Rekman in Main branch]
2015-07-15 14:12:49 -04:00
Nick Whiting
550a6d5280 #gearvr Fix for so deployment
[CL 2622067 by Nick Whiting in Main branch]
2015-07-15 14:01:33 -04:00
Chris Babcock
b199ac3845 Better handling of multiple Android build targets (copies proper .so)
#ue4
#android
#codereview Josh.Adams

[CL 2620274 by Chris Babcock in Main branch]
2015-07-14 11:53:53 -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
ac4e4be1d9 Update to support Nsight 3.1
#ue4
#android

[CL 2612622 by Chris Babcock in Main branch]
2015-07-07 13:53:10 -04:00