106 Commits

Author SHA1 Message Date
ahmed siddique
b64456ff20 New: Updated ASIS restricted experimental plugin for 5.4
#rb ahmed.siddique
#android
#jira UE-210368

[CL 32583529 by ahmed siddique in 5.4 branch]
2024-03-28 13:17:04 -04:00
chris babcock
5c88334ad2 Fix Android architecture check for project settings
#jira UE-207798
#android
[REVIEW] [at]Billy.Quick
#rb Billy.Quick

[CL 31765803 by chris babcock in 5.4 branch]
2024-02-23 11:36:30 -05:00
florin pascu
b49417947f First part of TargetPlatform(TP) refactor into TargetPlatformSettings(TPS) and TargetPlatformControls(TPC)
TPS doesn't need SDK and will be used to get info about the platform
TPC requires SDK
AndroidTP has been converted to the new system
#jira UE-200883
#rb Jack.Porter

[CL 30963905 by florin pascu in 5.4 branch]
2024-01-29 04:50:53 -05:00
ahmed siddique
d70352cd9b Android SingleInstance Service
Tested on Android with Lyra and also preflight checks.

#android
#rb chris.babcock

[CL 30244258 by ahmed siddique in ue5-main branch]
2023-12-11 13:59:52 -05:00
joe kirchoff
a204c6ad35 UnrealBuildTool: Fix issue preventing PGO from running against a target without a project
#rnx

[CL 28643719 by joe kirchoff in ue5-main branch]
2023-10-10 18:40:01 -04:00
daniel lamb
3e286ea58e Linux can now be cooked on windows platforms without the sdk installed.
Added override cook platform for use by content beacon to the datadrivenplatforminfo.
[REVIEW] [at]Josh.Adams

[CL 28223391 by daniel lamb in ue5-main branch]
2023-09-26 09:13:27 -04:00
joe kirchoff
40521adeca Clang static analysis requires unity builds to be disabled
#rnx

[CL 27329915 by joe kirchoff in ue5-main branch]
2023-08-23 20:33:44 -04:00
joe kirchoff
acacd6a8de UnrealBuildTool: More automated code cleanup
* Use object type rather than var
* Remove double newlines
* Use pattern matching

#rnx
#preflight 647780095d23eca37d28a387

[CL 25706751 by joe kirchoff in ue5-main branch]
2023-05-31 13:37:21 -04:00
joe kirchoff
acf80ab609 [Backout] - CL25694851
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: More automated code cleanup

#rnx

[CL 25695155 by joe kirchoff in ue5-main branch]
2023-05-30 19:55:37 -04:00
joe kirchoff
7ed1a39679 UnrealBuildTool: More automated code cleanup
#rnx

[CL 25694864 by joe kirchoff in ue5-main branch]
2023-05-30 19:36:05 -04:00
joe kirchoff
c04da27b3b UnrealBuildTool: More automated code cleanup
#rnx
#preflight 64767efb4b1ead7c7f428c7a

[CL 25693857 by joe kirchoff in ue5-main branch]
2023-05-30 18:59:32 -04:00
joe kirchoff
36d266e932 UnrealBuildTool: Automated code cleanup
#rnx
#preflight 6476799e947ff6973c225619

[CL 25693241 by joe kirchoff in ue5-main branch]
2023-05-30 18:38:07 -04:00
joe kirchoff
57a8fe409c UnrealBuildTool: Use expression body for simple properties and accessors
#rnx
#preflight 64766abcfe6a3b258a04cb50

[CL 25691579 by joe kirchoff in ue5-main branch]
2023-05-30 18:01:50 -04:00
joe barnes
733a32e21e Identify 30Hz device groups. Only run AiBotSoak for half as many frames as 60Hz device. Shortens tests which eases pressure on device pool and fixes an issue where csv wasn't written due to long test run.
#rb brenden.lienau

[CL 25568722 by joe barnes in ue5-main branch]
2023-05-22 15:17:32 -04:00
joe kirchoff
4feafec488 UnrealBuildTool: Clean up some PGO logic to be shared, don't raise an exception if no project is set
#rnx
#jira UE-163038
#preflight 6465621e6b1406b54a79f566

[CL 25520493 by joe kirchoff in ue5-main branch]
2023-05-17 20:52:54 -04:00
carl lloyd
7a31ca4270 Enable Android Vulkan SM5 Ray Tracing
#rb jeannoe.morissette, yuriy.odonnell
#preflight 643966259566b61450eddea4

[CL 25040539 by carl lloyd in ue5-main branch]
2023-04-14 10:52:39 -04:00
josh adams
1610c3bee3 UnrealArch/UnrealArchitectures changes
- Creates the UnrealArchitectures class, which wraps a list of UnrealArch objects
 - UnrealArch is a single architecture, expandable enum-like struct
 - There is no more concept of "no/default architecture", there is always a valid active architecture when building
 - Most uses of "string Architecture" are replaced with one of the two above, depending if multiple architectures are supported or not
 - UnrealArch has some platform-extensions for platform-specific naming (like Linux adds in LinuxName that turns, for instance, Arm64 -> aarch64-unknown-linux-gnueabi, which is used in folder names, etc)
 - UnrealArch has bIsX64 which can be used determine intel instruction set (as opposed to arm)
 - TargetRules class has an "Architecture" accessor that will return a single architecture if the active architectures is a single architecture, or throw an exception if multiple. This is useful in a majority of the cases where a paltform can only have a single architecture active in TargetRules (microsoft platforms, for instance, will create separate targets when compiling multiple architectures at once)
 - Added UnrealArchitectureConfig class, which contains all the architecture information for a platform (what architectures are supported, what ones are currently active for given project, etc)

#preflight 63c81fb5b065224750a1759e
#rb mike.fricker,roman.dzieciol,joe.kirchoff,dmytro.vovk,brandon.schaefer [various parts]
#p4v-preflight-copy 23562471

[CL 23829977 by josh adams in ue5-main branch]
2023-01-24 09:30:28 -05:00
Josh Adams
6f8a642479 Android architecture overhaul (version 1, more can be done!)
- Changed -arm64 and -x64 to arm64 and x64
- Removed the Arches array and other multi-architecture stuff from Adnroid compiling and linking, and using the higher level UEToolchain functionality to handle multi-architecture
- AndroidToolchain is now a proper ClangToolchain subclass instead of overriding everything it did (being a proper ISPCToolchain subclass coming later)
- Updated some of the UEToolchain side stuff (Android is the first platform to need separate Link output, but still need a single Target)
- All the architecture stuff is driven by UEBuildAndroid, not AndroidToolchain, so the make-a-temp-toolchain object just to get architectures was removed
- Removed unused stuff like bAllowMissingNDK, bExecuteCompilerThroughShell, Arches/GPUArches arrays
- Added a high-levle ConvertToPlatformArchitecture() function that UBT can use to turn "x86_64" into the achitecture that Android wants of "x64"
#rb chris.babcock
#preflight 63bdb04271079a8d1c2ef110

[CL 23634002 by Josh Adams in ue5-main branch]
2023-01-10 16:44:45 -05:00
Josh Adams
e6d0fb6486 - Added to new architecture APIs to UEBuildPlatform
- ConvertToReadableArchitecture() - turn an internal platform arch string to a printable version
  - IsX86Architecture() - returns true if the platform arch string represents an x86 architecture
- Changed Linux to use the HumanReadableName as the FolderNameForArchitecture, so it's shorter and it is not obfuscated anymore
#rb brandon.schaefer
#preflight 638fc65e9549ddaa288ccf73
#fyi dan.thompson

[CL 23419149 by Josh Adams in ue5-main branch]
2022-12-06 18:21:19 -05:00
dmytro vovk
400afa0738 Do not assume LTO when PGO is enabled on Android as it doesn't work well with NDK21
#jira none
#rb trivial
#preflight 6331a0757b582f58ab63f6a7

[CL 22188490 by dmytro vovk in ue5-main branch]
2022-09-26 13:27:42 -04:00
dmytro vovk
2d2eb358a3 Added LTO support to Android toolchain
#jira none
#rb Chris.Babcock
#preflight 632c7733d747fe52c852b726

[CL 22145951 by dmytro vovk in ue5-main branch]
2022-09-22 17:40:58 -04:00
dmytro vovk
5bad8f37b7 Removed legacy Android Project Settings
#rb Chris.Babcock

[CL 21467626 by dmytro vovk in ue5-main branch]
2022-08-19 19:18:13 -04:00
Joe Kirchoff
992b37b7cf UnrealBuildTool: Ignore build outputs when analyzing
#jira UE-160043
#rnx
#rb trivial
#preflight 62d89e741133256db65e2400

[CL 21202249 by Joe Kirchoff in ue5-main branch]
2022-07-21 12:07:06 -04:00
Joe Kirchoff
c5ca8db060 UnrealBuildTool: Allow PCH when running the clang analyzer
#rb trivial
#rnx
#preflight 62d73a1f164251d065f9d9df

[CL 21169279 by Joe Kirchoff in ue5-main branch]
2022-07-19 19:43:55 -04:00
dmytro vovk
e4767d3552 Added Clang Analyzer support to Android toolchain
#jira UE-140007
#rb Chris.Babcock
#preflight 62d18137dc4397d38456cf9e

[CL 21110861 by dmytro vovk in ue5-main branch]
2022-07-15 11:25:34 -04:00