diff options
author | diegoperez <diegoperez@google.com> | 2020-07-15 10:10:09 +0100 |
---|---|---|
committer | diegoperez <diegoperez@google.com> | 2020-07-15 10:15:16 +0100 |
commit | 0a949016241c21cfe7a0aef7c9d67a4789612bed (patch) | |
tree | e7d51db52506c4dcf2e468721c8abfff5cfaa842 | |
parent | f66b5da2d8d0ab16d9a71b1aec639f781db3af4d (diff) | |
download | protobuf-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-- | BUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"], ) |