Remove dependence on core/lib/core/blocking_counter.

the library has moved to core/platform

PiperOrigin-RevId: 283453966
Change-Id: I7e0248a318b54bd71d22a6c40eac5613a545bcbf
This commit is contained in:
Gunhan Gulsoy 2019-12-02 17:39:42 -08:00 committed by TensorFlower Gardener
parent 41a576f505
commit 489a7c85b8
6 changed files with 8 additions and 4 deletions

View File

@ -2111,6 +2111,7 @@ LIB_INTERNAL_PUBLIC_HEADERS = [
"//tensorflow/core/lib/random:legacy_lib_internal_public_random_headers",
"//tensorflow/core/lib/strings:legacy_lib_internal_public_string_headers",
"lib/wav/wav_io.h",
"//tensorflow/core/platform:blocking_counter.h",
"//tensorflow/core/platform:demangle.h",
"//tensorflow/core/platform:denormal.h",
"//tensorflow/core/platform:host_info.h",

View File

@ -351,6 +351,7 @@ tf_cc_test(
"//tensorflow/core:lib_internal",
"//tensorflow/core:test",
"//tensorflow/core:test_main",
"//tensorflow/core/platform:blocking_counter",
],
)

View File

@ -14,9 +14,11 @@ limitations under the License.
==============================================================================*/
#include "tensorflow/core/platform/cloud/ram_file_block_cache.h"
#include <cstring>
#include "tensorflow/core/lib/core/blocking_counter.h"
#include "tensorflow/core/lib/core/status_test_util.h"
#include "tensorflow/core/platform/blocking_counter.h"
#include "tensorflow/core/platform/cloud/now_seconds_env.h"
#include "tensorflow/core/platform/env.h"
#include "tensorflow/core/platform/notification.h"

View File

@ -75,10 +75,10 @@ TF_DEFAULT_PLATFORM_LIBRARIES = {
"@com_google_absl//absl/time",
"@com_google_absl//absl/types:optional",
"//third_party/eigen3",
"//tensorflow/core/lib/core:blocking_counter",
"//tensorflow/core/lib/core:error_codes_proto_cc",
"//tensorflow/core/lib/core:stringpiece",
"//tensorflow/core/platform",
"//tensorflow/core/platform:blocking_counter",
"//tensorflow/core/platform:context",
"//tensorflow/core/platform:cord",
"//tensorflow/core/platform:denormal",

View File

@ -19,7 +19,7 @@ limitations under the License.
#include "absl/types/optional.h"
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
#include "tensorflow/core/lib/core/blocking_counter.h"
#include "tensorflow/core/platform/blocking_counter.h"
#include "tensorflow/core/platform/context.h"
#include "tensorflow/core/platform/denormal.h"
#include "tensorflow/core/platform/logging.h"

View File

@ -16,8 +16,8 @@ limitations under the License.
#include "tensorflow/core/platform/unbounded_work_queue.h"
#include "absl/memory/memory.h"
#include "tensorflow/core/lib/core/blocking_counter.h"
#include "tensorflow/core/lib/random/random.h"
#include "tensorflow/core/platform/blocking_counter.h"
#include "tensorflow/core/platform/test.h"
namespace tensorflow {