Merge commit '7b04dc15c5745e780ff19aaff3d43aa1c6c99ad6' into master
Upgrade flatbuffers to the latest. It has been a while.
Change-Id: I6c56d742469591f31bd54243ec6d12c4cf397b26
Signed-off-by: Austin Schuh <austin.schuh@bluerivertech.com>
diff --git a/third_party/flatbuffers/tests/BUILD.bazel b/third_party/flatbuffers/tests/BUILD.bazel
index 5a727dd..6c0ca22 100644
--- a/third_party/flatbuffers/tests/BUILD.bazel
+++ b/third_party/flatbuffers/tests/BUILD.bazel
@@ -1,5 +1,5 @@
load("@rules_cc//cc:defs.bzl", "cc_test")
-load("//:build_defs.bzl", "flatbuffer_cc_library", "flatbuffer_ts_library")
+load("//:build_defs.bzl", "flatbuffer_cc_library")
package(default_visibility = ["//visibility:private"])
@@ -8,20 +8,42 @@
name = "flatbuffers_test",
testonly = 1,
srcs = [
+ "evolution_test.cpp",
+ "evolution_test.h",
"evolution_test/evolution_v1_generated.h",
"evolution_test/evolution_v2_generated.h",
+ "flexbuffers_test.cpp",
+ "flexbuffers_test.h",
+ "fuzz_test.cpp",
+ "fuzz_test.h",
+ "is_quiet_nan.h",
+ "json_test.cpp",
+ "json_test.h",
+ "monster_test.cpp",
+ "monster_test.h",
"monster_test_bfbs_generated.h",
"namespace_test/namespace_test1_generated.h",
"namespace_test/namespace_test2_generated.h",
+ "native_inline_table_test_generated.h",
"native_type_test_impl.cpp",
"native_type_test_impl.h",
"optional_scalars_generated.h",
+ "optional_scalars_test.cpp",
+ "optional_scalars_test.h",
+ "parser_test.cpp",
+ "parser_test.h",
+ "proto_test.cpp",
+ "proto_test.h",
+ "reflection_test.cpp",
+ "reflection_test.h",
"test.cpp",
"test_assert.cpp",
"test_assert.h",
"test_builder.cpp",
"test_builder.h",
"union_vector/union_vector_generated.h",
+ "util_test.cpp",
+ "util_test.h",
],
copts = [
"-DFLATBUFFERS_TRACK_VERIFIER_BUFFER_SIZE",
@@ -49,6 +71,8 @@
":name_clash_test/valid_test2.fbs",
":native_type_test.fbs",
":optional_scalars.fbs",
+ ":optional_scalars.json",
+ ":optional_scalars_defaults.json",
":prototest/imported.proto",
":prototest/test.golden",
":prototest/test.proto",