message: Make tf/core/platform/BUILD configurations more uniform, in preparation for rolling forward tf/core/platform:platform_port wiring.
diff: @@ -107,19 +107,16 @@ cc_library(
  cc_library(
  name = "context",
  textual_hdrs = ["context.h"],
  - deps = [
  # See call to tf_instantiate_platform_libraries() above.
  - ":context_impl",
  - ],
  + deps = tf_mobile_aware_deps("context_impl"),
  )
  cc_library(
  name = "cord",
  hdrs = ["cord.h"],
  deps = [
  - ":cord_impl",
  ":platform",
  - ],
  + ] + tf_mobile_aware_deps("cord_impl"),
  )
  cc_library(
  @@ -158,9 +155,7 @@ cc_library(
  cc_library(
  name = "cuda_libdevice_path",
  textual_hdrs = ["cuda_libdevice_path.h"],
  - deps = [
  - ":cuda_libdevice_path_impl",
  - ],
  + deps = tf_mobile_aware_deps("cuda_libdevice_path_impl"),
  )
  cc_library(
  @@ -240,9 +235,7 @@ cc_library(
  cc_library(
  name = "human_readable_json",
  textual_hdrs = ["human_readable_json.h"],
  - deps = [
  - ":human_readable_json_impl",
  - ],
  + deps = tf_mobile_aware_deps("human_readable_json_impl"),
  )
  cc_library(
  @@ -428,9 +421,7 @@ cc_library(
  cc_library(
  name = "rocm_rocdl_path",
  textual_hdrs = ["rocm_rocdl_path.h"],
  - deps = [
  - ":rocm_rocdl_path_impl",
  - ],
  + deps = tf_mobile_aware_deps("rocm_rocdl_path_impl"),
  )
  cc_library(
  @@ -526,9 +517,8 @@ cc_library(
  hdrs = ["strong_hash.h"],
  deps = [
  ":platform",
  - ":strong_hash_impl",
  ":types",
  - ],
  + ] + tf_mobile_aware_deps("strong_hash_impl"),
  )
  cc_library(
  @@ -587,9 +577,7 @@ cc_library(
  cc_library(
  name = "tracing",
  textual_hdrs = ["tracing.h"],
  - deps = [
  - ":tracing_impl",
  - ],
  + deps = tf_mobile_aware_deps("tracing_impl"),
  )
  cc_library(
  @@ -611,8 +599,7 @@ cc_library(
  hdrs = ["unbounded_work_queue.h"],
  deps = [
  ":platform",
  - ":unbounded_work_queue_impl",
  - ],
  + ] + tf_mobile_aware_deps("unbounded_work_queue_impl"),
  )
  # --------------------------------------------------------------------------
  