Remove iree_get_target_path macro now that cross compilation is reworked.
diff --git a/build_tools/cmake/iree_lit_test.cmake b/build_tools/cmake/iree_lit_test.cmake
index 58089a9..5e84e41 100644
--- a/build_tools/cmake/iree_lit_test.cmake
+++ b/build_tools/cmake/iree_lit_test.cmake
@@ -66,8 +66,7 @@
     if("${_DATA_DEP_NAME}" STREQUAL "iree_tools_IreeFileCheck")
       list(APPEND _DATA_DEP_PATHS "${CMAKE_SOURCE_DIR}/iree/tools/IreeFileCheck.sh")
     else()
-      iree_get_target_path(_DATA_DEP_PATH ${_DATA_DEP_NAME})
-      list(APPEND _DATA_DEP_PATHS "${_DATA_DEP_PATH}")
+      list(APPEND _DATA_DEP_PATHS $<TARGET_FILE:${_DATA_DEP_NAME}>)
     endif()
   endforeach(_DATA_DEP)
 
diff --git a/build_tools/cmake/iree_macros.cmake b/build_tools/cmake/iree_macros.cmake
index f902a2a..c86c8f7 100644
--- a/build_tools/cmake/iree_macros.cmake
+++ b/build_tools/cmake/iree_macros.cmake
@@ -125,26 +125,6 @@
   endif()
 endfunction()
 
-# iree_get_target_path
-#
-# Gets the path to a target in a cross-compilation-aware way. This should be
-# used when accessing targets that are used as part of the build, such as for
-# generating files used for later build steps. Those targets should be defined
-# inside IREE itself.
-#
-# Paramters:
-# - OUTPUT_VAR: variable name for receiving the path to the built target.
-# - TARGET: the target to get its path.
-function(iree_get_target_path OUTPUT_VAR TARGET)
-  # If this is a host target for cross-compilation, it should have a
-  # `HOST_TARGET_FILE` property containing the artifact's path.
-  # Otherwise it must be a target defined in the current CMake invocation
-  # and we can just use `$<TARGET_FILE:${TARGET}>` on it.
-  set(${OUTPUT_VAR}
-      "$<IF:$<BOOL:$<TARGET_PROPERTY:${TARGET},HOST_TARGET_FILE>>,$<TARGET_PROPERTY:${TARGET},HOST_TARGET_FILE>,$<TARGET_FILE:${TARGET}>>"
-      PARENT_SCOPE)
-endfunction()
-
 #-------------------------------------------------------------------------------
 # select()-like Evaluation
 #-------------------------------------------------------------------------------