1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

Fix Google-Gson (it is not an ant project)

This commit is contained in:
Daniel Martí 2013-03-15 16:18:07 +01:00
parent 0fb9af733a
commit c050279383

View File

@ -904,12 +904,6 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
'http://google-gson.googlecode.com/svn/trunk', sdir, sdk_path) 'http://google-gson.googlecode.com/svn/trunk', sdir, sdk_path)
vcs.gotorevision(ref) vcs.gotorevision(ref)
libdir = os.path.join(sdir, 'gson') libdir = os.path.join(sdir, 'gson')
if subprocess.call([os.path.join(sdk_path, 'tools', 'android'),
'update', 'project', '-p',
libdir]) != 0:
raise BuildException('Error updating Google-Gson project')
if basepath:
return sdir
return libdir return libdir
if name == 'Amazing-ListView': if name == 'Amazing-ListView':