commit | 2ed14f3923a96f66ee0b0270cb0b373e690505e5 | [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 | 85bd9ca978772341c4e481317f0f768fa2b2aade [diff] | |
parent | 8ccbe4258e20b3eba808f672b0a07a178dcc01e5 [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 {