From caf12900683e434dcd16bdac59b909f13fb09099 Mon Sep 17 00:00:00 2001 From: Zach Riggle Date: Thu, 11 Oct 2018 16:01:25 -0500 Subject: Android: Add simple test harness for Sandbox --- tools/android/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tools/android/Makefile (limited to 'tools/android/Makefile') diff --git a/tools/android/Makefile b/tools/android/Makefile new file mode 100644 index 000000000..556868f97 --- /dev/null +++ b/tools/android/Makefile @@ -0,0 +1,18 @@ +TARGET := libs/arm64-v8a/sandbox_test +SRC := jni/sandbox_test.c + +all: $(TARGET) + +$(TARGET): $(SRC) + ndk-build + +push: $(TARGET) + adb push "$^" /data/local/tmp + +run: push + adb shell /data/local/tmp/sandbox_test + +clean: + rm -rf libs obj + +.PHONY: all push run -- cgit mrf-deployment