summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorAustin Schuh <AustinSchuh@users.noreply.github.com>2019-02-14 13:05:46 -0800
committerWouter van Oortmerssen <aardappel@gmail.com>2019-02-14 22:05:46 +0100
commita66a88034a8db8960c7af37fbdd60fedd8a485c5 (patch)
tree6a00b66fb1cebb3de3a7b2186cc315746535efc9 /BUILD
parente1defaae5ea4e18eedde4c51ea82c05b802dc153 (diff)
downloadflatbuffers-a66a88034a8db8960c7af37fbdd60fedd8a485c5.tar.gz
flatbuffers-a66a88034a8db8960c7af37fbdd60fedd8a485c5.tar.bz2
flatbuffers-a66a88034a8db8960c7af37fbdd60fedd8a485c5.zip
Fix bazel build (#5174)
rules_go was out of date. Update that. Also, a dependency monster_extra_cc_fbs snuck in. So, let's add that. Fixes: #5163
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/BUILD b/BUILD
index 105f72f7..be302272 100644
--- a/BUILD
+++ b/BUILD
@@ -133,7 +133,6 @@ cc_test(
"src/idl_parser.cpp",
"src/reflection.cpp",
"src/util.cpp",
- "monster_test_generated.h",
"tests/namespace_test/namespace_test1_generated.h",
"tests/namespace_test/namespace_test2_generated.h",
"tests/test.cpp",
@@ -162,6 +161,10 @@ cc_test(
":tests/union_vector/union_vector.fbs",
],
includes = ["include/"],
+ deps = [
+ ":monster_extra_cc_fbs",
+ ":monster_test_cc_fbs",
+ ],
)
# Test bzl rules
@@ -175,3 +178,8 @@ flatbuffer_cc_library(
"tests/include_test/sub/include_test2.fbs",
],
)
+
+flatbuffer_cc_library(
+ name = "monster_extra_cc_fbs",
+ srcs = ["tests/monster_extra.fbs"],
+)