Add "src/**/*.inc" to //:protobuf_headers

Otherwise, sandbox and remote execution will complain `google/protobuf/port_def.inc` doesn't exist.
This commit is contained in:
Yun Peng 2019-06-14 13:29:16 +02:00 committed by Adam Cozzette
parent d3e6f10768
commit 6e58040a71

2
BUILD
View File

@ -218,7 +218,7 @@ cc_library(
# TODO(keveman): Remove this target once the support gets added to Bazel.
cc_library(
name = "protobuf_headers",
hdrs = glob(["src/**/*.h"]),
hdrs = glob(["src/**/*.h", "src/**/*.inc"]),
includes = ["src/"],
visibility = ["//visibility:public"],
)