aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/workspace.bzl
diff options
context:
space:
mode:
authorGravatar Austin Anderson <angerson@google.com>2018-08-22 14:43:45 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-22 14:49:44 -0700
commit13a4688fc32642ca9ca415ae77d445b95f31600c (patch)
tree8905b1973294bb03f54b9c0e011e4ed92a2d7b97 /tensorflow/workspace.bzl
parentce127f779dbc6f9d65e17cc3c38f37a06ba666d0 (diff)
Convert TensorFlow's flatbuffers dependency to new third party import method
PiperOrigin-RevId: 209833197
Diffstat (limited to 'tensorflow/workspace.bzl')
-rw-r--r--tensorflow/workspace.bzl16
1 files changed, 2 insertions, 14 deletions
diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl
index 5d90d0fe64..9d0ce34344 100644
--- a/tensorflow/workspace.bzl
+++ b/tensorflow/workspace.bzl
@@ -19,10 +19,10 @@ load(
"//tensorflow/tools/def_file_filter:def_file_filter_configure.bzl",
"def_file_filter_configure",
)
+load("//third_party/flatbuffers:workspace.bzl", flatbuffers = "repo")
def initialize_third_party():
- # Fill in later
- pass
+ flatbuffers()
# Sanitize a dependency so that it works correctly from code that includes
# TensorFlow as a submodule.
@@ -740,18 +740,6 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""):
build_file = clean_dep("//third_party:arm_neon_2_x86_sse.BUILD"),
)
- tf_http_archive(
- name = "flatbuffers",
- strip_prefix = "flatbuffers-1.9.0",
- sha256 = "5ca5491e4260cacae30f1a5786d109230db3f3a6e5a0eb45d0d0608293d247e3",
- urls = [
- "https://mirror.bazel.build/github.com/google/flatbuffers/archive/v1.9.0.tar.gz",
- "https://github.com/google/flatbuffers/archive/v1.9.0.tar.gz",
- ],
- build_file = clean_dep("//third_party/flatbuffers:flatbuffers.BUILD"),
- system_build_file = clean_dep("//third_party/systemlibs:flatbuffers.BUILD"),
- )
-
native.new_http_archive(
name = "double_conversion",
urls = [