From: Alexis Laferrière Date: Fri, 21 Aug 2015 17:49:29 +0000 (-0400) Subject: examples/calculator: fix Android version to use nit_activity only X-Git-Tag: v0.7.8~71^2~4 X-Git-Url: http://nitlanguage.org examples/calculator: fix Android version to use nit_activity only This is a partial revert of cbbb5225. The entrypoint of `android` use `native_app_glue`, which led to craming 2 activities in the apk file. Signed-off-by: Alexis Laferrière --- diff --git a/examples/calculator/Makefile b/examples/calculator/Makefile index 7e5ad0d..ed20940 100644 --- a/examples/calculator/Makefile +++ b/examples/calculator/Makefile @@ -10,7 +10,7 @@ bin/calculator: $(shell ${NITLS} -M src/calculator.nit -m linux) ${NITC} bin/calculator.apk: $(shell ${NITLS} -M src/calculator.nit -m android) ${NITC} ../../contrib/inkscape_tools/bin/svg_to_icons mkdir -p bin res ../../contrib/inkscape_tools/bin/svg_to_icons art/icon.svg --android --out res/ - ${NITC} -o $@ src/calculator.nit -m android + ${NITC} -o $@ src/calculator.nit -m ../../lib/android/ui/ ../../contrib/inkscape_tools/bin/svg_to_icons: make -C ../../contrib/inkscape_tools/