From 6e58040a712c58c22b639506ae759909d5b980e4 Mon Sep 17 00:00:00 2001 From: Yun Peng Date: Fri, 14 Jun 2019 13:29:16 +0200 Subject: [PATCH] Add "src/**/*.inc" to //:protobuf_headers Otherwise, sandbox and remote execution will complain `google/protobuf/port_def.inc` doesn't exist. --- BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD b/BUILD index 2fb2605093..f3f1569b9b 100644 --- a/BUILD +++ b/BUILD @@ -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"], )