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
This commit is contained in:
Austin Schuh
2019-02-14 13:05:46 -08:00
committed by Wouter van Oortmerssen
parent e1defaae5e
commit a66a88034a
2 changed files with 16 additions and 4 deletions

10
BUILD
View File

@@ -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"],
)