blob: 457bfec2c9e898b4cd0371b3932ca3ac3f2564b0 [file] [log] [blame]
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
NAME = "com_googlesource_gerrit_bazlets"
def load_bazlets(
commit,
shallow_since = None,
local_path = None):
if not local_path:
git_repository(
name = NAME,
remote = "https://gerrit.googlesource.com/bazlets",
commit = commit,
shallow_since = shallow_since,
)
else:
native.local_repository(
name = NAME,
path = local_path,
)