From: Alexis Laferrière Date: Tue, 15 Sep 2015 19:52:02 +0000 (-0400) Subject: contrib/jwrapper: add command to wrap Bitmap and nio.Buffer to the examples for reference X-Git-Tag: v0.8~83^2~11 X-Git-Url: http://nitlanguage.org contrib/jwrapper: add command to wrap Bitmap and nio.Buffer to the examples for reference Signed-off-by: Alexis Laferrière --- diff --git a/contrib/jwrapper/examples/android_api/Makefile b/contrib/jwrapper/examples/android_api/Makefile index 58b463f..f7ce401 100644 --- a/contrib/jwrapper/examples/android_api/Makefile +++ b/contrib/jwrapper/examples/android_api/Makefile @@ -14,6 +14,11 @@ android_api.nit: java_api.nit # Insert an import between the 2 modules sed -i -e "s/import java/import java\nimport java_api/" android_api.nit +# Base wrappers to implement the lib/android/load_image.nit module +bitmap.nit: ../../bin/jwrapper + ../../bin/jwrapper -vv -u comment -o $@ -r "^(android.graphics.Bitmap|java.nio.Buffer|java.nio.ByteBuffer).class$$" \ + -i ../../../../lib/android/assets_and_resources.nit $(ANDROID_JAR) -i ../../../../lib/java/collections.nit + check: android_api.nit ../../../../bin/nitpick android_api.nit