mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-16 14:06:33 -04:00
Merge commit 'refs/merge-requests/106' of git://gitorious.org/f-droid/fdroidserver into merge-requests/106
This commit is contained in:
@@ -1500,6 +1500,17 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
|
||||
vcs.gotorevision(ref)
|
||||
return sdir
|
||||
|
||||
if name == 'AndrozicLib':
|
||||
sdir = os.path.join(extlib_dir, 'AndrozicLib')
|
||||
vcs = getvcs('git',
|
||||
'https://github.com/andreynovikov/androzic-library', 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 AndrozicLib project')
|
||||
return sdir
|
||||
|
||||
raise BuildException('Unknown srclib ' + name)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user