Skip to content

Commit

Permalink
Bazel: pass through visibility to underlying genproto rule
Browse files Browse the repository at this point in the history
Reviewers: zarko

Reviewed By: zarko

Differential Revision: https://phabricator-dot-kythe-repo.appspot.com/D208
  • Loading branch information
schroederc committed Apr 21, 2015
1 parent 0829f37 commit b981758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build_rules/genproto.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ genproto = rule(
)

def genproto_all(name, src, visibility=None, deps = [], has_services = None, go_package_prefix = None):
genproto(name = name, src = src, deps = deps, has_services = has_services, go_package_prefix = go_package_prefix)
genproto(name = name, src = src, visibility=visibility, deps = deps, has_services = has_services, go_package_prefix = go_package_prefix)
# We'll guess that the repository is set up such that a .proto in
# //foo/bar has the package foo.bar. `location` is substituted with the
# relative path to its label from the workspace root.
Expand Down

0 comments on commit b981758

Please sign in to comment.