commit | 9f5a5eb39437d68ad771fab510e4f0ca435794bd | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed May 23 19:37:01 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed May 23 19:37:01 2018 +0000 |
tree | 343f2d2f75f808b2ca6c184d5e0e1238f5ca1e02 | |
parent | 63c4e7c15c0ec48811027ced26746848c1ad03f6 [diff] | |
parent | b516fb31c65b1ae933140dc58b93f933a87078f9 [diff] |
Merge "Libunwindstack: Add -O0 to tools defaults on host"
diff --git a/libunwindstack/Android.bp b/libunwindstack/Android.bp index 82f2e73..a6bf730 100644 --- a/libunwindstack/Android.bp +++ b/libunwindstack/Android.bp
@@ -220,6 +220,15 @@ "libbase", "liblzma", ], + target: { + // Always disable optimizations for host to make it easier to debug. + host: { + cflags: [ + "-O0", + "-g", + ], + }, + }, } cc_binary {