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:
Gabriel Pettier 2021-08-13 11:46:32 +02:00
parent aa83699ba6
commit fc714ea798
1 changed files with 2 additions and 6 deletions

View File

@ -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):