LYN-2537 engine assets (#254)

* LYN-2537 Moved the Engine and Editor folder to be within the EngineAssets folder

* Fixed Documentation in bootstrap.cfg to correct the path to the user project specific registry file

* Adding a newline to the output of AssetCatalog 'Registering asset..., but type is not set' message

* Updating the AssetProcessorPlatformConfig.setreg Scan Folder to detect
the @ENGINEROOT@/EngineAssets/Engine path for engine runtime assets and
@ENGINEROOT@/EngineAssets/Editor path for engine tool assets

* Updating references to Icons and other assets to account for moving the
Engine and Editor folder under a single EngineAssets folder

* Moving the Engine Settings Registry folder from Engine/Registry -> Registry

* Removed the LY_PROJECT_CMAKE_PATH define as it is not portable to other locations. It is hard coded to the project location that was used for the CMake configuration. Furthermore it paths with backslashes within it are treated as escape characters and not a path separator

* Updated the LyTestTools asset_processor.py script to copy the exclude.filetag from the EngineAssets/Engine directory now

* Fixed Atom Shader Preprocessing when running using an External Project

* Updated the TSGenerateAction.cpp to fix the build error with using a renamed variable

* Updated the Install_Common.cmake ly_setup_others function to install the
EngineAssets directory and the each of the Gem's Assets directory while
maintaining the relative directory structure to the Engine Root
Also updated the install step to install the Registry folder at the
engine root

* Fixed the copying of the Registry folder to be in the install root, instead of under a second 'Registry' folder

* Moving the AssetProcessorPlatformConfig.setreg file over to the Registry folder

* Updated the LyTestTools and C++ code to point that the new location of
the AssetProcessorPlatformConfig.setreg file inside of the Registry
folder

* Renamed Test AssetProcessor*Config.ini files to have the .setreg extension

* Converted the AssetProcessor test setreg files from ini format to json
format using the SerializeContextTools convert-ini command

* Updated the AssetProcessor CMakeLists.txt to copy over the test setreg files to the build folder

* Updated the assetprocessor test file list to point at the renamed AsssetProcessor*Config setreg filenames

* Removed the Output Prefix code from the AssetProcessor. The complexity that it brought to the AP code is not needed, as users can replicate the behavior by just moving there assets underneath a another folder, underneath the scan folder

* Adding back support to read the AssetProcessorPlatformConfig.setreg file from the asset root. This is only needed for C++ UnitTests as they run in an environment where the accessing the Engine Settings Registry is not available

* Updating the Install_common.cmake logic to copy any "Assets" folder to
the install layout.
The Script has also been updated to copy over the "Assets" folder in the
Engine Root to the install layout instead of an "EngineAssets" folder

* Updating References to EngineAssets source asset folder in code to be the Assets source folder

* Moved the Engine Source Asset folder of 'EngineAssets' to a new folder name of 'Assets'. This is inline with the naming scheme we use for Gem asset folders

* Adding the EngineFinder.cmake to the AutomatedTesting project to allow it to work in a project centric manner

* Updating the LyTestTools copy_assets_to_project function to be able to copy assets with folders to the temporary project root
Fixed an issue in LyTestTools where the temporary log directory could have shutil.rmtree being called twice on it leading to an exception which fails an automated test

Updated the asset_procesor_gui_tests_2 AddScanFolder test to not use the
output prefix, but instead place the source asset root into a
subdirectory

* Correct the AssetProcessorPlatformConfig Scan Folders for the EngineAssets directory to point at the Assets directory

* Updated the asset procesor batch dependency test scan folder to point at the 'Assets' folder instead of 'EngineAssets'
This commit is contained in:
lumberyard-employee-dm
2021-04-28 21:38:43 -05:00
committed by GitHub
parent ed74bb9166
commit 3dec5d3b71
2087 changed files with 1208 additions and 3655 deletions
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c9fcb39587721ae2f8a85b3035a94dbaa4eed793309d4bd099cb0a728f15bc1f
size 80
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6f851beaf78d5a63bff1416fe0ec95b9c0cac339cd0c1120b8f71aff6677498
size 107
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72ba0d369bf5225c280317bdeda2446bc2dd13619bdd408334cec8b09cacc928
size 41
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e6ee431b4b39fa9731b405f6349a186334ff4c30b00b251e84d7a451f650b865
size 43
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d01250a3f159303f9d42fb07c623eb1334eef3cb3a8fd0c1f787ccb27d5a92ee
size 43
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:611253e2400b45689b5b003d26840ec68535e133a570178abc4a5f8ad8641ae7
size 44
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a9474a0a73fc205efae65c85a04ecfd6f7fffda5d37fe474990903fc91036ec
size 83
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a29998927d628e2e0f9d3a32edb437e016b2ffdc6314c0e58e88e3dd9814f9f
size 92
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:412bcb1ae97f91f02451a122cf0eeac6e584c43db99d5c58b96dbc08300d3084
size 88
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b039fe0bd8119963dc637319d428452017b8afaff6cb36b7585ee78d325b2f89
size 88
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b588a4c4e106c97dd436ea7a2563ae515d501bf126da23e39022d8592d70698
size 90
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1712d1b89661d9cf3a9c5b0e6a93de85af6dd1ef86368c6347f8007b9aced015
size 82
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d74828b38d9f7a2b4f07026d4749d4db302fa891d4a8d8504dfff0a488c476b
size 82
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d5be1916fcf4fa77cf1fac5a9470ff9b2972b29da53c6855d2cbacb479fa686
size 82
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb9e76b848a157c8e61a30b827c471eafa6f068e980a32086c32979d4fcfad4f
size 97
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:04fd0fbbfe0bb54b7450fa6892bd2ef4ee3267d9fd8e56f9bd865fe665fdf20e
size 88
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6cc30e2897d5d2441061fd2b5962130e5891c74402b175a1ef6ae1e1c82056f
size 107
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3588f2ceb6e44b1f0f8f689ab71504412c873f4d406eaa1a04fb463afb97a8b8
size 76
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf441215a769562f88aa20711aee68dadcbf02597d1e2270547055e8e6aec6a3
size 77
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5db5226ce5c18da7c690a0b00a81bf03284491af9d9b5e4aa88a5f43e0a545ed
size 69
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a160c432eeb21d0a7bb8e6bc76de055088f4e6a55378aaa525fda9b6446e185a
size 84
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b0bf95b43b264d1e5f56372da2bab8bf7ab8870325dc4c1e3c948b8af793ae33
size 108
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a3c81234d5e393e0d63e5e126e1aa8824eaecc8eb82e44bc05606919152007b
size 104
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:583ca8d1f0a61d9dab71b474bf3dc610ad918b7517a4df294bf276192a4fd6a4
size 110
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be9ff593b1d8cabb7781fc38cce10aab6a54ec52925e1840ce15b87fada24bc1
size 93
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f9928e2ded60896cdcff297bb1cdc2f1ef868e8381a784074aade058c86a43d4
size 92
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:713b195eebec92ae22f525b65d58bae030e6e2eb5237eda93e98a2efda0de8e4
size 82
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6fc0207d6b655feaa8847df04393eb76ef6ede533beb2bf41b4194ffeb7cbba
size 92
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ab816fa6f8eccc75d6ef503c65036c0705ef737838a41e5a092755e81c673f4
size 86
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9986ed7ecfb8b16b2fe33e5bd09e33edcfbf01a0913db37bd275d2450774536d
size 89