aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp1
-rw-r--r--jazzer_setup.sh6
2 files changed, 7 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index d4377f44..1f5b45be 100644
--- a/Android.bp
+++ b/Android.bp
@@ -56,6 +56,7 @@ java_library {
java_binary {
name: "jazzer_setup",
+ wrapper: "jazzer_setup.sh",
host_supported: true,
srcs: [
"JazzerSetup.java",
diff --git a/jazzer_setup.sh b/jazzer_setup.sh
new file mode 100644
index 00000000..8fd2c9fe
--- /dev/null
+++ b/jazzer_setup.sh
@@ -0,0 +1,6 @@
+#!/system/bin/sh
+# Script to start "jazzer_setup" on the device
+#
+base=/system
+export CLASSPATH=$base/framework/jazzer_setup.jar
+exec app_process $base/bin com.jazzer.JazzerSetup "$@"