Use a static condition when depending on @local_cuda, @cuda_headers, @cudnn_headers so that we don't break 'bazel query' which does not handle select statements and breaks when those repositories are not available.
Use a static condition when depending on @local_cuda, @cuda_headers, @cudnn_headers so that we don't break 'bazel query' which does not handle select statements and breaks when those repositories are not available.

PiperOrigin-RevId: 376321545

tensorflow/runtime,tensorflow/runtime,tensorflow/runtime,tensorflow/runtime