mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-19 03:30:12 +02:00
Common-AskSven srclib
This commit is contained in:
parent
d00917d542
commit
552822d9ac
@ -1820,6 +1820,17 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
|
||||
vcs.gotorevision(ref)
|
||||
return sdir
|
||||
|
||||
if name == 'Common-AskSven':
|
||||
sdir = os.path.join(extlib_dir, 'Common-AskSven')
|
||||
vcs = getvcs('git',
|
||||
'https://github.com/asksven/AndroidCommon', sdir, sdk_path)
|
||||
vcs.gotorevision(ref)
|
||||
if subprocess.call([os.path.join(sdk_path, 'tools', 'android'),
|
||||
'update', 'project', '-p',
|
||||
sdir]) != 0:
|
||||
raise BuildException('Error updating Common-AskSven project')
|
||||
return sdir
|
||||
|
||||
raise BuildException('Unknown srclib ' + name)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user