mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
QuickdicUtils srclib
This commit is contained in:
parent
7c5a9793ad
commit
117b3c2400
@ -1759,6 +1759,17 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
|
||||
return sdir
|
||||
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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user