Add kwargs to glog_library
This commit is contained in:
parent
0bc2d94cd1
commit
e0f7bfc6ca
@ -7,7 +7,7 @@
|
||||
# https://github.com/google/glog/issues/61
|
||||
# https://github.com/google/glog/files/393474/BUILD.txt
|
||||
|
||||
def glog_library(namespace='google', with_gflags=1):
|
||||
def glog_library(namespace='google', with_gflags=1, **kwargs):
|
||||
if native.repository_name() != '@':
|
||||
gendir = '$(GENDIR)/external/' + native.repository_name().lstrip('@')
|
||||
else:
|
||||
@ -80,6 +80,7 @@ def glog_library(namespace='google', with_gflags=1):
|
||||
deps = [
|
||||
'@com_github_gflags_gflags//:gflags',
|
||||
] if with_gflags else [],
|
||||
**kwargs
|
||||
)
|
||||
|
||||
native.genrule(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user