Commit e0f7bfc6 authored by Prem Nair's avatar Prem Nair Committed by Rodrigo Queiro

Add kwargs to glog_library

parent 0bc2d94c
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment