mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
QuickdicUtils srclib
This commit is contained in:
parent
7c5a9793ad
commit
117b3c2400
1 changed files with 11 additions and 0 deletions
|
@ -1759,6 +1759,17 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
|
||||||
return sdir
|
return sdir
|
||||||
return libdir
|
return libdir
|
||||||
|
|
||||||
|
if name == 'QuickdicUtils':
|
||||||
|
sdir = os.path.join(extlib_dir, 'QuickdicUtils')
|
||||||
|
vcs = getvcs('git',
|
||||||
|
'https://code.google.com/p/quickdic-dictionary.util', 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 QuickdicUtils project')
|
||||||
|
return sdir
|
||||||
|
|
||||||
raise BuildException('Unknown srclib ' + name)
|
raise BuildException('Unknown srclib ' + name)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue