mirror of https://github.com/kivy/pyjnius.git
Update env.py for android building
- return [] in get_libraries as it's not needed on android - update android library definition to minimize patching in python-for-android
This commit is contained in:
parent
aa83699ba6
commit
fc714ea798
|
@ -269,14 +269,10 @@ class MacOsXJavaLocation(UnixJavaLocation):
|
|||
class AndroidJavaLocation(UnixJavaLocation):
|
||||
|
||||
def get_libraries(self):
|
||||
#if platform == 'android':
|
||||
# for android, we use SDL...
|
||||
return ['sdl', 'log']
|
||||
return ['SDL2', 'log']
|
||||
|
||||
def get_library_dirs(self):
|
||||
raise RuntimeError("TODO: who sets arch?")
|
||||
arch = None
|
||||
return [join(self.home, 'libs', arch)]
|
||||
return []
|
||||
|
||||
|
||||
def get_jre_home(platform):
|
||||
|
|
Loading…
Reference in New Issue