Remove dependence on core/lib/strings
PiperOrigin-RevId: 282881315 Change-Id: I3d6d18ec1dbf068f9d2d69c605e343994e9d986f
This commit is contained in:
parent
c4765b1d27
commit
33877af57f
tensorflow/core/platform
@ -99,6 +99,7 @@ cc_library(
|
||||
"//tensorflow/core:framework_headers_lib",
|
||||
"//tensorflow/core:lib",
|
||||
"//tensorflow/core:lib_internal",
|
||||
"//tensorflow/core/platform:stringprintf",
|
||||
"@jsoncpp_git//:jsoncpp",
|
||||
],
|
||||
alwayslink = 1,
|
||||
@ -131,6 +132,7 @@ cc_library(
|
||||
"//tensorflow/core:framework_headers_lib",
|
||||
"//tensorflow/core:lib",
|
||||
"//tensorflow/core:lib_internal",
|
||||
"//tensorflow/core/platform:stringprintf",
|
||||
"@jsoncpp_git//:jsoncpp",
|
||||
],
|
||||
alwayslink = 1,
|
||||
|
@ -32,7 +32,6 @@ limitations under the License.
|
||||
#include "tensorflow/core/lib/io/path.h"
|
||||
#include "tensorflow/core/lib/strings/numbers.h"
|
||||
#include "tensorflow/core/lib/strings/str_util.h"
|
||||
#include "tensorflow/core/lib/strings/stringprintf.h"
|
||||
#include "tensorflow/core/platform/cloud/curl_http_request.h"
|
||||
#include "tensorflow/core/platform/cloud/file_block_cache.h"
|
||||
#include "tensorflow/core/platform/cloud/google_auth_provider.h"
|
||||
@ -42,6 +41,7 @@ limitations under the License.
|
||||
#include "tensorflow/core/platform/env.h"
|
||||
#include "tensorflow/core/platform/mutex.h"
|
||||
#include "tensorflow/core/platform/protobuf.h"
|
||||
#include "tensorflow/core/platform/stringprintf.h"
|
||||
#include "tensorflow/core/platform/thread_annotations.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
|
@ -28,8 +28,8 @@ limitations under the License.
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "tensorflow/core/lib/strings/stringprintf.h"
|
||||
#include "tensorflow/core/platform/logging.h"
|
||||
#include "tensorflow/core/platform/stringprintf.h"
|
||||
|
||||
namespace tensorflow {
|
||||
namespace profile_utils {
|
||||
|
@ -65,6 +65,7 @@ cc_library(
|
||||
deps = [
|
||||
"//tensorflow/core:lib",
|
||||
"//tensorflow/core:lib_internal",
|
||||
"//tensorflow/core/platform:stringprintf",
|
||||
"@aws",
|
||||
],
|
||||
alwayslink = 1,
|
||||
|
@ -13,9 +13,6 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
#include "tensorflow/core/platform/s3/aws_logging.h"
|
||||
#include "tensorflow/core/lib/strings/stringprintf.h"
|
||||
#include "tensorflow/core/platform/logging.h"
|
||||
#include "tensorflow/core/platform/mutex.h"
|
||||
|
||||
#include <aws/core/Aws.h>
|
||||
#include <aws/core/utils/logging/AWSLogging.h>
|
||||
@ -23,6 +20,10 @@ limitations under the License.
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#include "tensorflow/core/platform/logging.h"
|
||||
#include "tensorflow/core/platform/mutex.h"
|
||||
#include "tensorflow/core/platform/stringprintf.h"
|
||||
|
||||
namespace tensorflow {
|
||||
|
||||
AWSLogSystem::AWSLogSystem(Aws::Utils::Logging::LogLevel log_level)
|
||||
|
Loading…
Reference in New Issue
Block a user