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
ef61a9d3
Commit
ef61a9d3
authored
8 years ago
by
Yunlong Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a key to ctx.action dict to prevent protoc losing the default env
parent
a95e38ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
protobuf.bzl
protobuf.bzl
+2
-1
No files found.
protobuf.bzl
View file @
ef61a9d3
...
...
@@ -90,6 +90,7 @@ def _proto_gen_impl(ctx):
arguments
=
args
+
import_flags
+
[
s
.
path
for
s
in
srcs
],
executable
=
ctx
.
executable
.
protoc
,
mnemonic
=
"ProtoCompile"
,
use_default_shell_env
=
True
,
)
return
struct
(
...
...
@@ -141,7 +142,7 @@ Args:
compiler.
plugin_language: the language of the generated sources
plugin_options: a list of options to be passed to the plugin
gen_cc: generates C++ sources in addition to the ones from the plugin.
gen_cc: generates C++ sources in addition to the ones from the plugin.
gen_py: generates Python sources in addition to the ones from the plugin.
outs: a list of labels of the expected outputs from the protocol compiler.
"""
...
...
This diff is collapsed.
Click to expand it.
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