Commit Graph

33 Commits

Author SHA1 Message Date
Josh Adams
884c913919 - Removing ES31 Target Platform from being compiled - it won't work without the code to support it properly, which isn't quite there yet [ttp 347603]
#codereview niklas.smedberg

[CL 2314333 by Josh Adams in Main branch]
2014-09-30 11:38:37 -04:00
Niklas Smedberg
bb8f417304 Support for OpenGL ES 3.1 + Android Extension Pack
[CL 2303212 by Niklas Smedberg in Main branch]
2014-09-18 17:49:40 -04:00
Kellan Carr
a3fe746bbb build script, disable android xge again
[CL 2294133 by Kellan Carr in Main branch]
2014-09-11 16:25:06 -04:00
Kellan Carr
4cbbc45d20 build script, reenable xge for linux, android, and ps4
[CL 2293858 by Kellan Carr in Main branch]
2014-09-11 12:09:06 -04:00
Ori Cohen
167a797ef8 Add runtime physx cooking
[CL 2291345 by Ori Cohen in Main branch]
2014-09-09 16:30:29 -04:00
Josh Adams
093967cff1 - Fixed Android PCHs with "fat" binaries
[CL 2282074 by Josh Adams in Main branch]
2014-09-02 17:48:19 -04:00
Josh Adams
ddea2d2fe0 - Changed UBT to allow for multiple OutputPaths in a given UE binary (this is needed by Android to output multiple .so files per UBT run, for armv7, x86, etc)
#codereview ben.marsh

[CL 2281777 by Josh Adams in Main branch]
2014-09-02 14:26:49 -04:00
Josh Adams
23d72bff05 - Fixed another Android manifest issue
#codereview sangwoo.lee

[CL 2274395 by Josh Adams in Main branch]
2014-08-27 14:12:35 -04:00
Josh Adams
6af83ba498 - Fixed the Android manifest generation
[CL 2272811 by Josh Adams in Main branch]
2014-08-26 16:05:32 -04:00
Josh Adams
d67a3a64a5 - Initial "Fat" binary support for Android - multiple architectures at once, by compiling multiple .so's in one go of UBT (will be controlled by Project Settings, intentionally hidden for now)
- Added option to allow for splitting up into multiple .apks, or a single "fat" .apk (also not exposed yet in the project settings)
- A fat binary is just named <Project>.apk, no longer <Project>-armv7.apk
- x86 almost works, except missing libCurl and ICU
- x64 and arm64 will come next now that this framework is in place
#codereview chris.babcock

[CL 2272105 by Josh Adams in Main branch]
2014-08-26 09:56:29 -04:00
Ben Marsh
bcd8c2c8a6 Remove code path from UBT which generates an XML build environment. APIDocTool now scrapes build environment from XGE export instead.
#codereview Mike.Fricker

[CL 2267338 by Ben Marsh in Main branch]
2014-08-22 09:03:54 -04:00
Mike Fricker
0031e06f21 Experimental UnrealBuildTool makefile support
UnrealBuildTool 'Makefiles' allow for very fast iterative builds.
    - New BuildConfiguration.xml setting added: "bUseExperimentalFastBuildIteration"   (disabled by default)
    - Turning this on causes Unreal Build Tool to emit 'UBT Makefiles' for targets when they're built the first time.
    - Subsequent builds will load these Makefiles and begin outdatedness checking and build invocation very quickly.
    - The caveat is that if source files are added or removed to the project, UBT will need to gather information about those in order for your build to complete successfully.
    - Currently, you must run the project file generator after adding/removing source files to tell UBT to re-gather this information.
    - Events that can invalidate the 'UBT Makefile':
           - Adding/removing .cpp files
           - Adding/removing .h files with UObjects
           - Adding new UObject types to a file that didn't previously have any
           - Changing global build settings (most settings in this file qualify.)
           - Changed code that affects how Unreal Header Tool works
    - You can force regeneration of the 'UBT Makefile' by passing the '-Gather' argument, or simply regenerating project files
    - New command-line parameters added:
           - "-Gather": Tells UBT to always perform the gather step (slower but will catch project structural changes)
           - "-NoGather": Disables the gather step, unless UBT detects that it must be done.  This is the default when bUseExperimentalFastBuildIteration is enabled
           - "-GatherOnly": Runs the gather step and saves a UBTMakefile, but doesn't build anything
           - "-Assemble": Tells UBT to also assemble build products.  This always defaults to enabled
           - "-NoAssemble": Tells UBT to skip the assemble step, whether we gathered build products or not
           - "-AssembleOnly": Tells UBT to only assemble build products and not to gather, unless UBT determines it must

Other changes:
- UBT now keeps track of which targets it was building in an intermediate file, to help it invalidate cached includes in subsequent runs when the targets are different
- C++ includes are now stored in a class separate from the C++ compile enviroment (for easier serialization)
- The method that UBT uses to find the CoreUObject module timestamp was rewritten
- Various '@todo ubtmake' comments added to tag possible remaining Makefile tasks
- The 'FileItem' class had some member variable comments and code cleaned up, while making it serializable
- Cleaned up the comments and member variables in the "Action" class, while making it serializable
- Some UBT classes are now "serializable".  This is because we need to store the data in UBTMakefiles.
- Removed support for Actions to tinker with Stdout and Stderror (was not used for anything)
- Moved PrecompileHeaderEnvironment class to the UEBuildModule.cs source file
- Plugin intermediate include directories are now selected on demand rather than cached early
- Toolchain code for gathering prerequisite headers is now shared in a single function (AddPrerequisiteSourceFile)
- Removed Action.StatusDetailedDescription, was not used for anything
- Removed UEBuildConfiguration.bExcludePlugins, was not used for anything
- Removed ECompilationResult.FailedDueToHeaderChange, was not used for anything

[CL 2254472 by Mike Fricker in Main branch]
2014-08-13 08:17:43 -04:00
Saul Abreu
b2d1d99b66 Enabled ICU on Android. Added necessary building information for ICU module on Android. Corrected unspecified Android native string encoding. Added staging/deploying of ICU data on Android. UE4 on Android now uses the GNUSTL_Shared shared object as the C++ runtime.
[CL 2251976 by Saul Abreu in Main branch]
2014-08-11 17:27:11 -04:00
Marcus Wassmer
64eec3f77a Force all builders into a clean state for autosdks
[CL 2232443 by Marcus Wassmer in Main branch]
2014-07-25 21:56:32 -04:00
Marcus Wassmer
8d4c78e7a8 Prefer AutoSDK for Android.
#codereview daniel.lamb

[CL 2228919 by Marcus Wassmer in Main branch]
2014-07-23 15:41:23 -04:00
Marcus Wassmer
460b2d20d1 Refactor AutoSDKs in preparation for doing doing AutoSDK setup for the editor.
[CL 2223660 by Marcus Wassmer in Main branch]
2014-07-18 14:21:02 -04:00
Daniel Lamb
3e5600b4bd Rewrote the sdk checking code for andorid so that it's easier to work with.
[CL 2110491 by Daniel Lamb in Main branch]
2014-06-19 11:22:53 -04:00
Daniel Lamb
482d958c36 Fixed case where you don't have the carefully redist directory synced.
Now should find the installed android sdk.

[CL 2110459 by Daniel Lamb in Main branch]
2014-06-19 10:57:36 -04:00
Daniel Lamb
e0c50ff043 Removed some excessive warnings from build script when not using carefullyredist.
Upgraded version string for build script.

[CL 2109474 by Daniel Lamb in Main branch]
2014-06-18 13:31:57 -04:00
Daniel Lamb
41b27f1922 Enabled Using Android SDK switching.
[CL 2109257 by Daniel Lamb in Main branch]
2014-06-18 10:26:14 -04:00
Jaroslaw Palczynski
7865157a1e [GitHub] 219 : Move post build handling to ToolChain
#ttp 338156

[CL 2107782 by Jaroslaw Palczynski in Main branch]
2014-06-17 02:04:37 -04:00
Saul Abreu
7d6c6f552f Changes to UBT for third party directories. UEThirdPartyDirectory is now obsolete and should be replaced with UEThirdPartySourceDirectory. An error message will appear when attempting to build if this is not heeded.
[CL 2104963 by Saul Abreu in Main branch]
2014-06-13 16:31:00 -04:00
Jack Porter
5776ee4dc3 Android stack walking displaying function signatures. addr2line can be used offline with the address displayed to get the exact source file and line number.
[CL 2104022 by Jack Porter in Main branch]
2014-06-12 22:11:52 -04:00
Jaroslaw Palczynski
220c44b806 [GitHub] 132 : Introduce NativeBuildEnvironmentConfiguration
#github 132
#ttp 334942

[CL 2098971 by Jaroslaw Palczynski in Main branch]
2014-06-09 11:12:01 -04:00
Jaroslaw Palczynski
a51cded662 UBT: Renamed XmlConfigField to XmlConfig attribute and left only field annotation mechanism. If class has any fields annotated then it's going to be included in the configuration mechanism.
[CL 2097041 by Jaroslaw Palczynski in Main branch]
2014-06-06 07:43:02 -04:00