aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiegoperez <diegoperez@google.com>2020-07-15 10:10:09 +0100
committerdiegoperez <diegoperez@google.com>2020-07-15 10:15:16 +0100
commit0a949016241c21cfe7a0aef7c9d67a4789612bed (patch)
treee7d51db52506c4dcf2e468721c8abfff5cfaa842
parentf66b5da2d8d0ab16d9a71b1aec639f781db3af4d (diff)
downloadprotobuf-0a949016241c21cfe7a0aef7c9d67a4789612bed.tar.gz
Updates BUILD to work in androidx-studio-integration
Reference the zlib repo used in the studio branch and include the normal configuration file. Bug: 160271731 Test: bazel build @protobuf_repo//:protobuf Change-Id: I9121b1122e78e91b73dfeec4fa6c39945928b6e0
-rw-r--r--BUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/BUILD b/BUILD
index dbae719ff..b2df614ba 100644
--- a/BUILD
+++ b/BUILD
@@ -23,7 +23,7 @@ config_setting(
# ZLIB configuration
################################################################################
-ZLIB_DEPS = ["@zlib//:zlib"]
+ZLIB_DEPS = ["@zlib_repo//:zlib"]
################################################################################
# Protobuf Runtime Library
@@ -141,7 +141,7 @@ cc_library(
],
hdrs = glob(["src/google/protobuf/**/*.h", "src/google/protobuf/**/*.inc"]),
copts = COPTS,
- includes = ["src/"],
+ includes = ["src/", "config/"],
linkopts = LINK_OPTS,
visibility = ["//visibility:public"],
)