AndroidTestUtilities: Remove DEPENDS that was being silently ignored

The add_custom_command(TARGET) form does not support a
DEPENDS keyword, but it was silently ignored up to now. It will
soon be reported as an error, so remove the DEPENDS. The
behavior will be the same as before.

Issue: #26096
This commit is contained in:
Craig Scott
2024-08-25 14:25:29 +10:00
parent 316840b430
commit 8dc8be0884
-1
View File
@@ -139,7 +139,6 @@ function(android_add_test_data test_name)
get_filename_component(extern_data_basename ${output} NAME)
add_custom_command(
TARGET ${DATA_TARGET_NAME} POST_BUILD
DEPENDS ${extern_data_source}
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${extern_data_source} ${DEST}/${extern_data_basename}
)
endif()