message: Exclude tests from tf_stream_executor build only if BUILD_CC_TESTS is OFF
diff: @@ -65,10 +65,12 @@ if (tensorflow_ENABLE_GPU)
  file(GLOB tf_stream_executor_gpu_srcs
  "${tensorflow_source_dir}/tensorflow/stream_executor/cuda/*.cc"
  )
  + if (NOT tensorflow_BUILD_CC_TESTS)
  file(GLOB tf_stream_executor_gpu_tests
  "${tensorflow_source_dir}/tensorflow/stream_executor/cuda/*_test.cc"
  - )
  + }
  list(REMOVE_ITEM tf_stream_executor_gpu_srcs ${tf_stream_executor_gpu_tests})
  + endif()
  list(APPEND tf_stream_executor_srcs ${tf_stream_executor_gpu_srcs})
  endif()
  