Browse Source

Add missing declaration in protobuf_headers

To prevent us from getting such error with sandbox or remote execution:
```
bazel-out/k8-opt/genfiles/tensorflow/core/lib/core/error_codes.pb.h:10:40: fatal error: google/protobuf/port_def.inc: No such file or directory
 #include <google/protobuf/port_def.inc>
                                        ^
```
Yun Peng 6 years ago
parent
commit
5902e75910
1 changed files with 1 additions and 1 deletions
  1. 1 1
      BUILD

+ 1 - 1
BUILD

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