Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: f089af473a610e21307bf649a4fec81086cf33a5 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                     


                                        


                           
                       








                                                               
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

NAME = "com_googlesource_gerrit_bazlets"

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

Back to the top