chiark / gitweb /
Fix Google-Gson (it is not an ant project)
authorDaniel Martí <mvdan@mvdan.cc>
Fri, 15 Mar 2013 15:18:07 +0000 (16:18 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Fri, 15 Mar 2013 15:18:07 +0000 (16:18 +0100)
fdroidserver/common.py

index 30a32faa011fb0f39957fb1e96a6a17a2a694743..ee59f058649b21d6e15e233d994f60d350eadca3 100644 (file)
@@ -904,12 +904,6 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
         'http://google-gson.googlecode.com/svn/trunk', sdir, sdk_path)
         vcs.gotorevision(ref)
         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
 
     if name == 'Amazing-ListView':