aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar Andrew Selle <aselle@google.com>2018-09-08 09:19:22 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-08 09:23:39 -0700
commit40037223b33fcdf178509ba5ece4ba33425c4627 (patch)
tree66f39a23b888ce40f18e33dbac818964a3a1d602 /third_party
parentbfead6061a6f10c5a3e5d05f8a946443fb9a3218 (diff)
Automated rollback of commit 0065d3389a63a529469dc71e950c66da2ebdbc24
PiperOrigin-RevId: 212119629
Diffstat (limited to 'third_party')
-rw-r--r--third_party/flatbuffers/BUILD.bazel1
-rw-r--r--third_party/flatbuffers/build_defs.bzl19
2 files changed, 12 insertions, 8 deletions
diff --git a/third_party/flatbuffers/BUILD.bazel b/third_party/flatbuffers/BUILD.bazel
index 9d233a30d6..934c0d9650 100644
--- a/third_party/flatbuffers/BUILD.bazel
+++ b/third_party/flatbuffers/BUILD.bazel
@@ -142,6 +142,7 @@ filegroup(
srcs = [
"include/flatbuffers/base.h",
"include/flatbuffers/flatbuffers.h",
+ "include/flatbuffers/minireflect.h",
"include/flatbuffers/stl_emulation.h",
"include/flatbuffers/util.h",
],
diff --git a/third_party/flatbuffers/build_defs.bzl b/third_party/flatbuffers/build_defs.bzl
index 2f25156668..235b44f7cf 100644
--- a/third_party/flatbuffers/build_defs.bzl
+++ b/third_party/flatbuffers/build_defs.bzl
@@ -92,14 +92,17 @@ def flatbuffer_library_public(
cmd = reflection_genrule_cmd,
message = "Generating flatbuffer reflection binary for %s:" % (name),
)
- native.Fileset(
- name = reflection_name,
- out = "%s_out" % reflection_name,
- entries = [
- native.FilesetEntry(files = reflection_outs),
- ],
- visibility = reflection_visiblity,
- )
+ # TODO(b/114456773): Make bazel rules proper and supported by flatbuffer
+ # Have to comment this since FilesetEntry is not supported in bazel
+ # skylark.
+ # native.Fileset(
+ # name = reflection_name,
+ # out = "%s_out" % reflection_name,
+ # entries = [
+ # native.FilesetEntry(files = reflection_outs),
+ # ],
+ # visibility = reflection_visiblity,
+ # )
def flatbuffer_cc_library(
name,