mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
srclib : androzic-library
This commit is contained in:
parent
1ddca1463a
commit
fa6750df55
1 changed files with 11 additions and 0 deletions
|
@ -1500,6 +1500,17 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
|
||||||
vcs.gotorevision(ref)
|
vcs.gotorevision(ref)
|
||||||
return sdir
|
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)
|
raise BuildException('Unknown srclib ' + name)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue