aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-10-15 23:08:36 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-10-15 23:08:36 +0000
commit628db03638ef28163858ad090a72f9c72b0c72f4 (patch)
tree3243e58e56d3a8dee60c582a2c917d18edc9bd5a
parent65cbf3f6ec468e4c01d535a277088dd2da15d494 (diff)
parentba37c2e361c2ba91bacc47fcae5383c52e50f6be (diff)
downloadjazzer-api-android14-security-release.tar.gz
Change-Id: Id04526de0985076ae2208e187c163472445765f2
-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 "$@"