From dbc29ae1838eadabb13926e9db03568f844de2ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Tue, 15 Sep 2015 15:52:02 -0400 Subject: [PATCH] contrib/jwrapper: add command to wrap Bitmap and nio.Buffer to the examples for reference MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- contrib/jwrapper/examples/android_api/Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 1.7.9.5