Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
f313b9cc
Commit
f313b9cc
authored
Apr 12, 2019
by
Nic McDonald
Committed by
Adam Cozzette
Apr 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comply with Bazel recommendations
parent
8e5ea659
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
BUILD
BUILD
+1
-1
protobuf_deps.bzl
protobuf_deps.bzl
+2
-7
No files found.
BUILD
View file @
f313b9cc
...
...
@@ -19,7 +19,7 @@ config_setting(
# ZLIB configuration
################################################################################
ZLIB_DEPS = ["
//external
:zlib"]
ZLIB_DEPS = ["
@zlib//
:zlib"]
################################################################################
# Protobuf Runtime Library
...
...
protobuf_deps.bzl
View file @
f313b9cc
...
...
@@ -5,14 +5,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def protobuf_deps():
"""Loads common dependencies needed to compile the protobuf library."""
native.bind(
name = "zlib",
actual = "@net_zlib//:zlib",
)
if "net_zlib" not in native.existing_rules():
if "zlib" not in native.existing_rules():
http_archive(
name = "
net_
zlib",
name = "zlib",
build_file = "@com_google_protobuf//:third_party/zlib.BUILD",
sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
strip_prefix = "zlib-1.2.11",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment