Skip to content

Commit

Permalink
add **kwargs to go_genrule (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedanese authored and pmbethe09 committed Dec 7, 2016
1 parent 879e7a8 commit c7e02c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion go/def.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,8 @@ def _setup_cgo_library(name, srcs, cdeps, copts, clinkopts, go_tool, toolchain):
def cgo_genrule(name, srcs,
copts=[],
clinkopts=[],
cdeps=[]):
cdeps=[],
**kwargs):
cgogen = _setup_cgo_library(
name = name,
srcs = srcs,
Expand All @@ -999,6 +1000,7 @@ def cgo_genrule(name, srcs,
cgogen.outdir + "/_cgo_import.go",
],
cgo_object = cgogen.outdir + "/_cgo_object",
**kwargs
)

def cgo_library(name, srcs,
Expand Down

0 comments on commit c7e02c8

Please sign in to comment.