Selaa lähdekoodia

Remove not needed build requirements from ROS2.Frame.Tests (#930)

Signed-off-by: Mateusz Wasilewski <[email protected]>
Mateusz Wasilewski 2 viikkoa sitten
vanhempi
commit
76b6634f26

+ 0 - 8
Gems/ROS2/Code/CMakeLists.txt

@@ -335,16 +335,8 @@ if(PAL_TRAIT_BUILD_TESTS_SUPPORTED)
                 BUILD_DEPENDENCIES
                     PRIVATE
                         AZ::AzTest
-                        AZ::AzTestShared
-                        Legacy::CryCommon
-                        Legacy::EditorCommon
-                        Legacy::Editor.Headers
                         AZ::AzManipulatorTestFramework.Static
                         Gem::${gem_name}.Editor.Private.Object
-                        Gem::${gem_name}.Editor.Static
-                        Gem::${gem_name}.Static
-                RUNTIME_DEPENDENCIES
-                    Legacy::Editor
             )
 
             # Add ${gem_name}.Editor.Tests to googletest

+ 4 - 3
Gems/ROS2/Code/Tests/Frame/ROS2FrameComponentTest.cpp

@@ -53,8 +53,9 @@ namespace UnitTest
     {
         AddActiveGems(AZStd::to_array<AZStd::string_view>({ "ROS2" }));
         AddDynamicModulePaths({});
-        AddComponentDescriptors(AZStd::initializer_list<AZ::ComponentDescriptor*>{ ROS2::ROS2FrameComponent::CreateDescriptor(),
-                                                                                   ROS2::ROS2SystemComponent::CreateDescriptor() });
+        AddComponentDescriptors(
+            AZStd::initializer_list<AZ::ComponentDescriptor*>{ ROS2::ROS2FrameComponent::CreateDescriptor(),
+                                                               ROS2::ROS2SystemComponent::CreateDescriptor() });
         AddRequiredComponents(AZStd::to_array<AZ::TypeId const>({ ROS2::ROS2SystemComponent::TYPEINFO_Uuid() }));
     }
 
@@ -180,7 +181,7 @@ namespace UnitTest
 
 } // namespace UnitTest
 
-// required to support running integration tests with Qt and PhysX
+// required to support running integration tests with Qt
 AZTEST_EXPORT int AZ_UNIT_TEST_HOOK_NAME(int argc, char** argv)
 {
     ::testing::InitGoogleMock(&argc, argv);