LockAgent: Add ability to generate a native crash
Use the crasher to create a tombstone with the violation as the abort
message.
Test: m
Test: manual
Change-Id: I8c5041a4fbffedb11b6b9c564ab1e214551896bf
diff --git a/tools/lock_agent/Android.bp b/tools/lock_agent/Android.bp
index 2125ad6..408946b 100644
--- a/tools/lock_agent/Android.bp
+++ b/tools/lock_agent/Android.bp
@@ -15,6 +15,8 @@
include_dirs: [
// NDK headers aren't available in platform NDK builds.
"libnativehelper/include_jni",
+ // Use ScopedUtfChars.
+ "libnativehelper/header_only_include",
],
header_libs: [
"libopenjdkjvmti_headers",
@@ -33,6 +35,8 @@
include_dirs: [
// NDK headers aren't available in platform NDK builds.
"libnativehelper/include_jni",
+ // Use ScopedUtfChars.
+ "libnativehelper/header_only_include",
],
header_libs: [
"libopenjdkjvmti_headers",