You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Tools
amzn-mike fed1278fe6
AP: product dependency optimization (#6619)
* Initial pass at optimizing product path dependency resolution

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add version of StripAssetPlatform that doesn't allocate or copy strings.  Re-add missing test and fix up compile errors.  Add benchmark test

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Change UpdateProductDependencies to directly call s_InsertProductDependencyQuery.BindAndStep

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add test for same filename on multiple platforms

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Rework search logic to keep track of the source of a search path (source vs product) and keep track of which search matches which dependency to avoid doing another search through every product later on

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Clean up code, expand test

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix paths not being lowercased by SanitizeForDatabase.  Fix UpdateProductDependencies not updating existing dependencies

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add test for duplicate dependency matches.  Fix saving duplicates

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Clean up code

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Separate test into test and benchmark versions

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Cleanup include

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix includes, switch hardcoded job manager setup to use JobManagerComponent instead

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Replaced wildcard_match with PathView::Match.  Changed StripAssetPlatformNoCopy to use TokenizeNext.  Removed Environment Create/Destroy calls.  Made ScopedAllocatorFixture a base class of ScopedAllocatorSetupFixture

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add AZ Environment create/destroy on AP test environment

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Add missing asserts on database functions

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix incorrect usage of StripAssetPlatformNoCopy

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix source/product dependency type being ignored.  Removed need for unordered_set for list of resolved dependencies.  Updated unit tests

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Better variable names

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Remove testing code

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>

* Fix missing includes and namespaces

Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com>
4 years ago
..
AWSNativeSDKInit Update to use AWSNativeSDK 1.9.50 (#6618) 4 years ago
Android/ProjectBuilder [android_compat_fixes] replaced deprecated 'jcenter' repo with 'mavenCentral' in Android project generator template 4 years ago
AssetBundler Add support for configuring default Archive File Search Mode through a Cache Var (#5668) 4 years ago
AssetProcessor AP: product dependency optimization (#6619) 4 years ago
AzTestRunner Merge branch 'development' into issues/exception_handling 4 years ago
BundleLauncher [MacOS] Launching Editor from ProjectManager and other misc. fixes 4 years ago
CrashHandler Update the FileIO Aliases (#4186) 4 years ago
DeltaCataloger Removes m_enableDrilling 4 years ago
GridHub Adds LuaIDE->GridHub dependency 4 years ago
LuaIDE Fix: Lua directory empty and always loading in editor (#6207) 4 years ago
ProjectManager Enabling mac tests (#6716) 4 years ago
PythonBindingsExample Some fixes for paths with spaces (#6757) 4 years ago
RemoteConsole Archive Component - Rewrite and additional work on Archive and Asset Bundler (#4332) 4 years ago
SceneAPI {lyn8865} Adding DataTypes::ScriptProcessorFallbackLogic (#6396) 4 years ago
SerializeContextTools Added a CriticalAssetsCompiled Lifecycle event (#6469) 4 years ago
TestImpactFramework LYN-6882 release builds are executing code in asserts (#4305) 4 years ago
CMakeLists.txt Moves Code/Tools/Standalone to Code/Tools/LuaIDE 4 years ago