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

Add srclib

This commit is contained in:
Daniel Martí 2013-03-26 23:35:41 +01:00
parent 95a70d0e0e
commit 910f35e415

View File

@ -1582,6 +1582,17 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
raise BuildException('Error updating HoloColorPicker project')
return sdir
if name == 'ColorPickerPreference':
sdir = os.path.join(extlib_dir, 'ColorPickerPreference')
vcs = getvcs('git',
'https://github.com/frigus02/HoloColorPicker', 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 ColorPickerPreference project')
return sdir
if name == 'ChartLib':
sdir = os.path.join(extlib_dir, 'ChartLib')
vcs = getvcs('git',