From 1baca41edd16cde0370acebd9b47d53890432823 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 18 Jun 2015 21:43:18 +0200 Subject: [PATCH] [DEV] start to create a proper java compilation ... --- lutin_ewol.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lutin_ewol.py b/lutin_ewol.py index 60de6a28..163b37af 100644 --- a/lutin_ewol.py +++ b/lutin_ewol.py @@ -13,6 +13,7 @@ def get_license(): def create(target): # set the ewol folder for Android basic sources ... + # TODO: Remove this really bad interface : target.set_ewol_folder(tools.get_current_path(__file__)) # module name is 'edn' and type binary. @@ -57,6 +58,19 @@ def create(target): myModule.add_src_file('ewol/context/Windows/Context.cpp') elif target.name=="Android": myModule.add_src_file('ewol/context/Android/Context.cpp') + myModule.add_src_file([ + 'android/src/org/ewol/EwolAudioTask.java', + 'android/src/org/ewol/EwolCallback.java', + 'android/src/org/ewol/EwolConstants.java', + 'android/src/org/ewol/Ewol.java', + 'android/src/org/ewol/EwolRendererGL.java', + 'android/src/org/ewol/EwolSurfaceViewGL.java', + 'android/src/org/ewol/EwolActivity.java', + 'android/src/org/ewol/EwolWallpaper.java' + ]) + myModule.add_export_path(tools.get_current_path(__file__) + '/android/src/', type='java') + # TODO : Create constant headers ... + elif target.name=="MacOs": myModule.add_src_file([ 'ewol/context/MacOs/Context.mm',