summaryrefslogtreecommitdiffstats
path: root/tools/bazlets.bzl
blob: f97b72c828ce53efcb8245c579df410fed375c4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
NAME = "com_googlesource_gerrit_bazlets"

def load_bazlets(
        commit,
        local_path = None):
    if not local_path:
        native.git_repository(
            name = NAME,
            remote = "https://gerrit.googlesource.com/bazlets",
            commit = commit,
        )
    else:
        native.local_repository(
            name = NAME,
            path = local_path,
        )