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/AssetProcessor/native/utilities
SJ 3bdfe51fca
Pass relative path IsFileExcluded so that only paths relative to the root scan folder are matched against the exclude filters (#4504)
* Pass relative path IsFileExcluded so that only paths relative to the root scan folder are matched against the exclude filters.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Revert previous change. Remove the exclude filter for the Install directory.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Pass in relative path to the exclude filter as before. Fix the AssetScanner tests.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Prepend a ./ to the relative path in order to match the exclude patterns

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Remove hack to prepend ./. Update the exclude patterns so that the hack is no longer required.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Add missing ? and remove whitespace

Signed-off-by: amzn-sj <srikkant@amazon.com>

* 1. IsFileExcluded() now converts the input path to a path that's relative to its corresponding scan folder.
2. Update regex patterns in gems and AutomatedTesting as well.
3. Remove unnecessary escaping for '/'.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Use ConvertToRelativePath() function to compute path relative to a scan folder.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* More fixes to regex patterns

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Remove test case which tests a hypothetical scenario that cannot occur. Fix another test case by adding scan folder.

Signed-off-by: amzn-sj <srikkant@amazon.com>

* Remove assert that's not needed since it's a valid scenario

Signed-off-by: amzn-sj <srikkant@amazon.com>
4 years ago
..
ApplicationManager.cpp Add an error message to AP when the project path is invalid (#4801) 4 years ago
ApplicationManager.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ApplicationManagerAPI.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ApplicationManagerBase.cpp Code/Tools 4 years ago
ApplicationManagerBase.h Code/Tools/AssetProcessor 4 years ago
ApplicationServer.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ApplicationServer.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
AssetBuilderInfo.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
AssetBuilderInfo.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
AssetServerHandler.cpp Archive Component - Rewrite and additional work on Archive and Asset Bundler (#4332) 4 years ago
AssetServerHandler.h Code/Tools/AssetProcessor 4 years ago
AssetUtilEBusHelper.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
BatchApplicationManager.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
BatchApplicationManager.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
BatchApplicationServer.cpp Code/Tools fixes 4 years ago
BatchApplicationServer.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
BuilderConfigurationBus.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
BuilderConfigurationManager.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
BuilderConfigurationManager.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
BuilderManager.cpp [Mac] Building and running game projects from an SDK (#2943) 4 years ago
BuilderManager.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
BuilderManager.inl Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ByteArrayStream.cpp enable warning 4296: 'operator': expression is always false 4 years ago
ByteArrayStream.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
CommunicatorTracePrinter.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
CommunicatorTracePrinter.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
GUIApplicationManager.cpp Add an error message to AP when the project path is invalid (#4801) 4 years ago
GUIApplicationManager.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
GUIApplicationServer.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
GUIApplicationServer.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
IniConfiguration.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
IniConfiguration.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
JobDiagnosticTracker.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
JobDiagnosticTracker.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
LineByLineDependencyScanner.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
LineByLineDependencyScanner.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
LogPanel.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
LogPanel.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MissingDependencyScanner.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MissingDependencyScanner.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
PlatformConfiguration.cpp Pass relative path IsFileExcluded so that only paths relative to the root scan folder are matched against the exclude filters (#4504) 4 years ago
PlatformConfiguration.h Final fixes for MSVC 4 years ago
PotentialDependencies.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SpecializedDependencyScanner.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ThreadHelper.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ThreadHelper.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
UnitTestShaderCompilerServer.cpp Code/Tools fixes 4 years ago
UnitTestShaderCompilerServer.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
assetUtils.cpp LYN-6882 release builds are executing code in asserts (#4305) 4 years ago
assetUtils.h Merge branch 'development' into cmake/SPEC-7179 4 years ago
windowscreen.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
windowscreen.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago