diff options
author | Tim Shen <timshen@google.com> | 2018-08-30 11:20:16 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-30 11:29:03 -0700 |
commit | 09f2c342c0e74834bebf8045d5e77dcef8323539 (patch) | |
tree | 3a969695f54840366629df7f39e4da7f9ac103cd /tensorflow/core/platform | |
parent | 9e12f1df3270b5e0b310645e6c3cae9fbd3f5dfc (diff) |
Remove (Mutable)ArraySlice implementation and alias them to absl::Span.
There are several API migrations happening:
* ArraySlice's sub-slice constructor => .subspan
* MutableArraySlice's container pointer constructor => absl::MakeSpan
PiperOrigin-RevId: 210946124
Diffstat (limited to 'tensorflow/core/platform')
-rw-r--r-- | tensorflow/core/platform/default/build_config.bzl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tensorflow/core/platform/default/build_config.bzl b/tensorflow/core/platform/default/build_config.bzl index 6a4ff9a1cb..0411a8c4f9 100644 --- a/tensorflow/core/platform/default/build_config.bzl +++ b/tensorflow/core/platform/default/build_config.bzl @@ -623,7 +623,10 @@ def tf_additional_lib_defines(): def tf_additional_lib_deps(): """Additional dependencies needed to build TF libraries.""" - return ["@com_google_absl//absl/base:base"] + if_static( + return [ + "@com_google_absl//absl/base:base", + "@com_google_absl//absl/types:span", + ] + if_static( ["@nsync//:nsync_cpp"], ["@nsync//:nsync_headers"], ) + select({ |