mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-08 00:10:12 +01:00
A couple more srclibs
This commit is contained in:
parent
41d7b78777
commit
724755194c
@ -1064,6 +1064,17 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
|
|||||||
raise BuildException('Error updating EmulatorView project')
|
raise BuildException('Error updating EmulatorView project')
|
||||||
return libdir
|
return libdir
|
||||||
|
|
||||||
|
if name == 'Tree-View-List':
|
||||||
|
sdir = os.path.join(extlib_dir, 'Tree-View-List')
|
||||||
|
vcs = getvcs('hg',
|
||||||
|
'https://code.google.com/p/tree-view-list-android/', 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 Tree-List-View project')
|
||||||
|
return sdir
|
||||||
|
|
||||||
raise BuildException('Unknown srclib ' + name)
|
raise BuildException('Unknown srclib ' + name)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user