| diff --git a/BUILD.bazel b/BUILD.bazel |
| index 436ca59a..98990f8a 100644 |
| --- a/BUILD.bazel |
| +++ b/BUILD.bazel |
| @@ -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", |
| ) |