浏览代码

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

Otherwise, sandbox and remote execution will complain `google/protobuf/port_def.inc` doesn't exist.
Yun Peng 6 年之前
父节点
当前提交
6e58040a71
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"],
 )