Browse Source
Change-Id: I8343b723da6e40d5ae7fc45c84f64c31276bd5dc Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>stable-4.7
David Pursehouse
6 years ago
4 changed files with 61 additions and 62 deletions
@ -1,17 +1,16 @@ |
|||||||
NAME = "com_googlesource_gerrit_bazlets" |
NAME = "com_googlesource_gerrit_bazlets" |
||||||
|
|
||||||
def load_bazlets( |
def load_bazlets( |
||||||
commit, |
commit, |
||||||
local_path = None |
local_path = None): |
||||||
): |
if not local_path: |
||||||
if not local_path: |
native.git_repository( |
||||||
native.git_repository( |
name = NAME, |
||||||
name = NAME, |
remote = "https://gerrit.googlesource.com/bazlets", |
||||||
remote = "https://gerrit.googlesource.com/bazlets", |
commit = commit, |
||||||
commit = commit, |
) |
||||||
) |
else: |
||||||
else: |
native.local_repository( |
||||||
native.local_repository( |
name = NAME, |
||||||
name = NAME, |
path = local_path, |
||||||
path = local_path, |
) |
||||||
) |
|
||||||
|
Loading…
Reference in new issue