Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
pub
google
protobuf
Commits
5e8916e8
Commit
5e8916e8
authored
7 years ago
by
Vladimir Moskva
Committed by
Feng Xiao
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Make .bzl files compatible with future versions of Bazel
parent
c9899b17
javalite
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
protobuf.bzl
+3
-3
protobuf.bzl
with
3 additions
and
3 deletions
+3
-3
protobuf.bzl
+
3
-
3
View file @
5e8916e8
...
...
@@ -245,9 +245,9 @@ def cc_proto_library(
)
if
default_runtime
and
not
default_runtime
in
cc_libs
:
cc_libs
+
=
[
default_runtime
]
cc_libs
=
cc_libs
+
[
default_runtime
]
if
use_grpc_plugin
:
cc_libs
+
=
[
"//external:grpc_lib"
]
cc_libs
=
cc_libs
+
[
"//external:grpc_lib"
]
native
.
cc_library
(
name
=
name
,
...
...
@@ -371,7 +371,7 @@ def py_proto_library(
)
if
default_runtime
and
not
default_runtime
in
py_libs
+
deps
:
py_libs
+
=
[
default_runtime
]
py_libs
=
py_libs
+
[
default_runtime
]
native
.
py_library
(
name
=
name
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets