aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core
diff options
context:
space:
mode:
authorGravatar Jared Duke <jdduke@google.com>2018-10-01 15:34:08 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-01 15:38:58 -0700
commit55d96e8ea93407da156c156702a38fd8b5d06b2a (patch)
tree366ead5cbc9a995181edd257aae86c4f0e856d62 /tensorflow/core
parent52574f95279d8cd5ec22cfc24668b9586e41367a (diff)
Fix Android builds when using --define=with_tflite_flex
PiperOrigin-RevId: 215292521
Diffstat (limited to 'tensorflow/core')
-rw-r--r--tensorflow/core/common_runtime/eager/BUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/tensorflow/core/common_runtime/eager/BUILD b/tensorflow/core/common_runtime/eager/BUILD
index be5f3bae3a..7b74c67c85 100644
--- a/tensorflow/core/common_runtime/eager/BUILD
+++ b/tensorflow/core/common_runtime/eager/BUILD
@@ -147,10 +147,11 @@ tf_cuda_library(
"kernel_and_device.h",
],
visibility = ["//tensorflow:internal"],
- deps = select({
+ deps = [
+ "@farmhash_archive//:farmhash",
+ ] + select({
"//tensorflow:android": [
"//tensorflow/core:android_tensorflow_lib_lite",
- "//util/hash:farmhash_fingerprint",
],
"//conditions:default": [
"//tensorflow/core:core_cpu_lib",
@@ -219,13 +220,13 @@ tf_cuda_library(
visibility = ["//tensorflow:internal"],
deps = [
":kernel_and_device",
+ "@farmhash_archive//:farmhash",
# Only the TF_AttrType enum is required, so pull in just the C headers.
# TODO(b/113535673): Break this dependency and avoid the C header completely.
"//tensorflow/c:c_api_headers",
] + select({
"//tensorflow:android": [
"//tensorflow/core:android_tensorflow_lib_lite",
- "//util/hash:farmhash_fingerprint",
],
"//conditions:default": [
"//tensorflow/core:core_cpu",