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
aa367541
Commit
aa367541
authored
Nov 02, 2015
by
Jisi Liu
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #930 from pherl/bazel_test
add warning notes for cc|py_proto_library rules.
parents
ec9f45b1
d4bef7d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
protobuf.bzl
protobuf.bzl
+8
-0
No files found.
protobuf.bzl
View file @
aa367541
...
@@ -105,6 +105,10 @@ def cc_proto_library(
...
@@ -105,6 +105,10 @@ def cc_proto_library(
**
kargs
):
**
kargs
):
"""Bazel rule to create a C++ protobuf library from proto source files
"""Bazel rule to create a C++ protobuf library from proto source files
NOTE: the rule is only an internal workaround to generate protos. The
interface may change and the rule may be removed when bazel has introduced
the native rule.
Args:
Args:
name: the name of the cc_proto_library.
name: the name of the cc_proto_library.
srcs: the .proto files of the cc_proto_library.
srcs: the .proto files of the cc_proto_library.
...
@@ -207,6 +211,10 @@ def py_proto_library(
...
@@ -207,6 +211,10 @@ def py_proto_library(
**
kargs
):
**
kargs
):
"""Bazel rule to create a Python protobuf library from proto source files
"""Bazel rule to create a Python protobuf library from proto source files
NOTE: the rule is only an internal workaround to generate protos. The
interface may change and the rule may be removed when bazel has introduced
the native rule.
Args:
Args:
name: the name of the py_proto_library.
name: the name of the py_proto_library.
srcs: the .proto files of the py_proto_library.
srcs: the .proto files of the py_proto_library.
...
...
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