aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-05-16 07:47:44 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-05-16 07:51:00 -0700
commitb72f26e269c74e1e65a31fc2389c239ce9729d02 (patch)
tree96ec7afec5e314eb8ae27422ba31f5a168488c53
parent373d83eef75df69a8fe7d48c416ab40665a64124 (diff)
Add support libraries in core/platform.
PiperOrigin-RevId: 196826860
-rw-r--r--tensorflow/core/BUILD2
-rw-r--r--tensorflow/core/platform/default/build_config/BUILD31
2 files changed, 33 insertions, 0 deletions
diff --git a/tensorflow/core/BUILD b/tensorflow/core/BUILD
index 6e147653a0..bbe30c4e49 100644
--- a/tensorflow/core/BUILD
+++ b/tensorflow/core/BUILD
@@ -337,6 +337,8 @@ cc_library(
],
hdrs = PLATFORM_BASE_HDRS,
copts = tf_copts(),
+ # TODO(ahentz): remove use of this library so we can move it into 'platform'
+ tags = ["avoid_dep"],
deps = [
":lib_platform",
"//tensorflow/core/platform/default/build_config:base",
diff --git a/tensorflow/core/platform/default/build_config/BUILD b/tensorflow/core/platform/default/build_config/BUILD
index 44a89c3a96..c17e4810d5 100644
--- a/tensorflow/core/platform/default/build_config/BUILD
+++ b/tensorflow/core/platform/default/build_config/BUILD
@@ -120,6 +120,37 @@ cc_library(
)
cc_library(
+ name = "port",
+ srcs = [],
+ copts = tf_copts(),
+)
+
+cc_library(
+ name = "protobuf",
+ srcs = [],
+ copts = tf_copts(),
+)
+
+cc_library(
+ name = "env",
+ srcs = [],
+ copts = tf_copts(),
+)
+
+cc_library(
+ name = "other",
+ srcs = [],
+ copts = tf_copts(),
+ deps = [
+ "@com_googlesource_code_re2//:re2",
+ "@farmhash_archive//:farmhash",
+ "@fft2d",
+ "@highwayhash//:sip_hash",
+ "@png_archive//:png",
+ ],
+)
+
+cc_library(
name = "platformlib",
copts = tf_copts(),
deps = [