mirror of
https://github.com/zebrajr/tensorflow.git
synced 2026-01-15 12:15:41 +00:00
The custom commit contains a fix to make protobuf.bzl compatible with Bazel 0.26 or later version. Also fix WORKSPACE file to make sure tf_workspace() always takes priority over dependency definitions of other repositories. PiperOrigin-RevId: 253970221
23 lines
711 B
Diff
23 lines
711 B
Diff
diff --git a/BUILD b/BUILD
|
|
index 2fb26050..c2744d5b 100644
|
|
--- a/BUILD
|
|
+++ b/BUILD
|
|
@@ -19,7 +19,7 @@ config_setting(
|
|
# ZLIB configuration
|
|
################################################################################
|
|
|
|
-ZLIB_DEPS = ["@zlib//:zlib"]
|
|
+ZLIB_DEPS = ["@zlib_archive//:zlib"]
|
|
|
|
################################################################################
|
|
# Protobuf Runtime Library
|
|
@@ -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"],
|
|
)
|