vcs.gotorevision(ref)
return sdir
+ if name == 'Common-AskSven':
+ sdir = os.path.join(extlib_dir, 'Common-AskSven')
+ vcs = getvcs('git',
+ 'https://github.com/asksven/AndroidCommon', 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 Common-AskSven project')
+ return sdir
+
raise BuildException('Unknown srclib ' + name)