Skip to content

Commit 27f5a0f

Browse files
authored
Add missing headers to runtime_cc target (#8492)
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.
1 parent 3592b19 commit 27f5a0f

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

BUILD.bazel

+1-9
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,7 @@ filegroup(
121121
# Library used by flatbuffer_cc_library rules.
122122
cc_library(
123123
name = "runtime_cc",
124-
hdrs = [
125-
"include/flatbuffers/base.h",
126-
"include/flatbuffers/flatbuffers.h",
127-
"include/flatbuffers/flexbuffers.h",
128-
"include/flatbuffers/stl_emulation.h",
129-
"include/flatbuffers/util.h",
130-
"include/flatbuffers/vector.h",
131-
"include/flatbuffers/verifier.h",
132-
],
124+
hdrs = ["//:public_headers"],
133125
linkstatic = 1,
134126
strip_include_prefix = "/include",
135127
)

0 commit comments

Comments
 (0)