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" |
||||
|
||||
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, |
||||
) |
||||
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, |
||||
) |
||||
|
Loading…
Reference in new issue