message: Move metadata_collector under cuda_deps to fix portability issues on cast.
diff: @@ -67,11 +67,17 @@ tf_cuda_library(
  name = "profiler_backends",
  cuda_deps = [
  "//tensorflow/core/profiler/internal/gpu:device_tracer",
  + # Metadata collector does not compile for Cast,
  + # due to its dependency on human_readable_json.
  + # Also, it is only used for XLA:GPU support and
  + # thus move it inside cuda_deps.
  + # TODO(b/155130190): Gate deps and cuda_deps here so they are empty
  + # when compiling for a mobile platform.
  + "//tensorflow/core/profiler/internal/cpu:metadata_collector",
  ],
  visibility = ["//tensorflow:internal"],
  deps = [
  "//tensorflow/core/profiler/internal/cpu:host_tracer",
  - "//tensorflow/core/profiler/internal/cpu:metadata_collector",
  ],
  alwayslink = True,
  )
  