mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
Add emulatorview srclib
This commit is contained in:
parent
be50d2db4a
commit
96df917a02
1 changed files with 12 additions and 0 deletions
|
@ -1034,6 +1034,18 @@ def getsrclib(spec, extlib_dir, sdk_path):
|
|||
raise BuildException('Error updating File-Picker project')
|
||||
return sdir
|
||||
|
||||
if name == 'EmulatorView':
|
||||
sdir = os.path.join(extlib_dir, 'EmulatorView')
|
||||
vcs = getvcs('git',
|
||||
'https://github.com/jackpal/Android-Terminal-Emulator.git', sdir, sdk_path)
|
||||
vcs.gotorevision(ref)
|
||||
libdir = os.path.join(sdir, 'libraries', 'emulatorview')
|
||||
if subprocess.call([os.path.join(sdk_path, 'tools', 'android'),
|
||||
'update', 'project', '-p',
|
||||
libdir]) != 0:
|
||||
raise BuildException('Error updating EmulatorView project')
|
||||
return libdir
|
||||
|
||||
raise BuildException('Unknown srclib ' + name)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue