message: Exclude util/stats_calculator.* from :framework_internal_impl
  Otherwise both :framework_internal_impl and :stats_calculator_portable compile this file and cause multiple definition.
diff: @@ -2464,6 +2464,7 @@ tf_cuda_library(
  "framework/resource_handle.cc",
  "util/memmapped_file_system.*",
  "util/memmapped_file_system_writer.*",
  + "util/stats_calculator.*",
  "util/version_info.cc",
  ],
  ) + select({
  @@ -2490,6 +2491,7 @@ tf_cuda_library(
  ":protos_all_proto_text",
  ":error_codes_proto_text",
  ":protos_all_cc",
  + ":stats_calculator_portable",
  ":version_lib",
  "//tensorflow/core/platform/default/build_config:platformlib",
  "//tensorflow/core/kernels:bounds_check",
  