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
25d75b56
Commit
25d75b56
authored
Oct 15, 2015
by
Jisi Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make cc_out and py_out internal.
parent
125a91be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
protobuf.bzl
protobuf.bzl
+3
-3
No files found.
protobuf.bzl
View file @
25d75b56
...
...
@@ -7,11 +7,11 @@ def _gen_dir(ctx):
return
ctx
.
attr
.
prefix
return
ctx
.
label
.
package
+
'/'
+
ctx
.
attr
.
prefix
def
CcO
uts
(
srcs
):
def
_cc_o
uts
(
srcs
):
return
[
s
[:
-
len
(
".proto"
)]
+
".pb.h"
for
s
in
srcs
]
+
\
[
s
[:
-
len
(
".proto"
)]
+
".pb.cc"
for
s
in
srcs
]
def
PyO
uts
(
srcs
):
def
_py_o
uts
(
srcs
):
return
[
s
[:
-
len
(
".proto"
)]
+
"_pb2.py"
for
s
in
srcs
]
def
_proto_srcs_impl
(
ctx
):
...
...
@@ -91,7 +91,7 @@ def cc_proto_library(
**
kargs
)
return
outs
=
CcO
uts
(
srcs
)
outs
=
_cc_o
uts
(
srcs
)
_proto_srcs
(
name
=
name
+
"_genproto"
,
srcs
=
srcs
,
...
...
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