Browse Source

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

Otherwise, sandbox and remote execution will complain `google/protobuf/port_def.inc` doesn't exist.
Yun Peng 6 years ago
parent
commit
6e58040a71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      BUILD

+ 1 - 1
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"],
 )