Removing tensorflow/core/platform/default/build_config:logging, and swapping usages with tensorflow/core/platform:logging.

PiperOrigin-RevId: 286500054
Change-Id: I5588602ef9471129fcdf8d5185df150706bdecf2
This commit is contained in:
Brian Zhao 2019-12-19 18:10:00 -08:00 committed by TensorFlower Gardener
parent b816289aa5
commit 9a5b203210
3 changed files with 5 additions and 12 deletions

View File

@ -2236,7 +2236,7 @@ cc_library(
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
":platform_base", ":platform_base",
"//tensorflow/core/platform/default/build_config:logging", "//tensorflow/core/platform:logging",
], ],
) )
@ -2269,8 +2269,8 @@ cc_library(
":core_stringpiece", ":core_stringpiece",
"//tensorflow/core/platform:dynamic_annotations", "//tensorflow/core/platform:dynamic_annotations",
"//tensorflow/core/platform:jpeg", "//tensorflow/core/platform:jpeg",
"//tensorflow/core/platform:logging",
"//tensorflow/core/platform:stringpiece", "//tensorflow/core/platform:stringpiece",
"//tensorflow/core/platform/default/build_config:logging",
"@com_google_absl//absl/base:core_headers", "@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/strings", "@com_google_absl//absl/strings",
], ],
@ -2304,10 +2304,10 @@ cc_library(
"//tensorflow/core/lib/strings:strcat", "//tensorflow/core/lib/strings:strcat",
"//tensorflow/core/platform:dynamic_annotations", "//tensorflow/core/platform:dynamic_annotations",
"//tensorflow/core/platform:gif", "//tensorflow/core/platform:gif",
"//tensorflow/core/platform:logging",
"//tensorflow/core/platform:numbers", "//tensorflow/core/platform:numbers",
"//tensorflow/core/platform:strcat", "//tensorflow/core/platform:strcat",
"//tensorflow/core/platform:stringpiece", "//tensorflow/core/platform:stringpiece",
"//tensorflow/core/platform/default/build_config:logging",
"@com_google_absl//absl/base:core_headers", "@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/strings", "@com_google_absl//absl/strings",
], ],

View File

@ -137,13 +137,6 @@ cc_library(
], ],
) )
# Minimal lib so that tools used for mobile compilation
# don't have to depend on platformlib.
cc_library(
name = "logging",
copts = tf_copts(),
)
# Minimal lib to be used by tensorflow/core:framework_lite. # Minimal lib to be used by tensorflow/core:framework_lite.
# This provides minimal support for writing operator implementations (kernels), # This provides minimal support for writing operator implementations (kernels),
# and excludes anything that can bloat binary size if used. # and excludes anything that can bloat binary size if used.

View File

@ -41,7 +41,7 @@ cc_binary(
"@com_google_protobuf//:protobuf", "@com_google_protobuf//:protobuf",
"//tensorflow/core/platform:protobuf_compiler", "//tensorflow/core/platform:protobuf_compiler",
"//tensorflow/core:lib_proto_parsing", "//tensorflow/core:lib_proto_parsing",
] + if_ios(["//tensorflow/core/platform/default/build_config:logging"]), ] + if_ios(["//tensorflow/core/platform:logging"]),
) )
cc_library( cc_library(
@ -67,7 +67,7 @@ cc_library(
}), }),
deps = [ deps = [
"//tensorflow/core:lib_proto_parsing", "//tensorflow/core:lib_proto_parsing",
] + if_ios(["//tensorflow/core/platform/default/build_config:logging"]), ] + if_ios(["//tensorflow/core/platform:logging"]),
) )
tf_proto_library_cc( tf_proto_library_cc(