Skip to content

Commit

Permalink
Add missing headers to runtime_cc target (#8492)
Browse files Browse the repository at this point in the history
Transitive headers like array.h have not been available in the runtime_cc target causing the build to fail. Adding all public headers to make sure transitive headers of flatbuffers.h are available.
  • Loading branch information
mering authored Jan 21, 2025
1 parent 3592b19 commit 27f5a0f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,7 @@ filegroup(
# Library used by flatbuffer_cc_library rules.
cc_library(
name = "runtime_cc",
hdrs = [
"include/flatbuffers/base.h",
"include/flatbuffers/flatbuffers.h",
"include/flatbuffers/flexbuffers.h",
"include/flatbuffers/stl_emulation.h",
"include/flatbuffers/util.h",
"include/flatbuffers/vector.h",
"include/flatbuffers/verifier.h",
],
hdrs = ["//:public_headers"],
linkstatic = 1,
strip_include_prefix = "/include",
)

0 comments on commit 27f5a0f

Please sign in to comment.