summaryrefslogtreecommitdiffstats
path: root/libunwindstack/Android.bp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2017-12-15 20:00:59 -0800
committerChristopher Ferris <cferris@google.com>2017-12-20 12:57:01 -0800
commit3dfd2aea7a28faa5240cb308b9cdcca8b4025f83 (patch)
tree17773c49864e9c06f0f57401f84e6e051d2e4bd5 /libunwindstack/Android.bp
parentd848876ff76af3588d8e60415b68da7adcf361f2 (diff)
downloadcore-3dfd2aea7a28faa5240cb308b9cdcca8b4025f83.tar.gz
core-3dfd2aea7a28faa5240cb308b9cdcca8b4025f83.tar.bz2
core-3dfd2aea7a28faa5240cb308b9cdcca8b4025f83.zip
Add tool to save information from a process.
Also, modify the ProcessVmRead function to allow arbitrarily large reads and add a test for it. Test: Run tool and verify the output can be used to do an offline Test: unwind. Test: Ran unit tests. Change-Id: I0974ddca4f5cf72b4c9fa29b597a0a669e223828
Diffstat (limited to 'libunwindstack/Android.bp')
-rw-r--r--libunwindstack/Android.bp9
1 files changed, 9 insertions, 0 deletions
diff --git a/libunwindstack/Android.bp b/libunwindstack/Android.bp
index fad899fe9..133f3b9aa 100644
--- a/libunwindstack/Android.bp
+++ b/libunwindstack/Android.bp
@@ -215,6 +215,15 @@ cc_binary {
],
}
+cc_binary {
+ name: "unwind_for_offline",
+ defaults: ["libunwindstack_tools"],
+
+ srcs: [
+ "tools/unwind_for_offline.cpp",
+ ],
+}
+
// Generates the elf data for use in the tests for .gnu_debugdata frames.
// Once these files are generated, use the xz command to compress the data.
cc_binary_host {