mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
New srclib Android-File-Picker
This commit is contained in:
parent
7af5e7d347
commit
be50d2db4a
1 changed files with 10 additions and 0 deletions
|
@ -1023,6 +1023,16 @@ def getsrclib(spec, extlib_dir, sdk_path):
|
|||
raise BuildException('Error updating AnySoftKeyboard-API project')
|
||||
return sdir
|
||||
|
||||
if name == 'File-Picker':
|
||||
sdir = os.path.join(extlib_dir, 'File-Picker')
|
||||
vcs = getvcs('hg',
|
||||
'https://code.google.com/p/android-file-picker/', 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 File-Picker project')
|
||||
return sdir
|
||||
|
||||
raise BuildException('Unknown srclib ' + name)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue