summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot2018-05-23 14:37:01 -0500
committerGerrit Code Review2018-05-23 14:37:01 -0500
commit2ed14f3923a96f66ee0b0270cb0b373e690505e5 (patch)
tree343f2d2f75f808b2ca6c184d5e0e1238f5ca1e02
parent85bd9ca978772341c4e481317f0f768fa2b2aade (diff)
parent8ccbe4258e20b3eba808f672b0a07a178dcc01e5 (diff)
downloadplatform-system-core-2ed14f3923a96f66ee0b0270cb0b373e690505e5.tar.gz
platform-system-core-2ed14f3923a96f66ee0b0270cb0b373e690505e5.tar.xz
platform-system-core-2ed14f3923a96f66ee0b0270cb0b373e690505e5.zip
Merge "Libunwindstack: Add -O0 to tools defaults on host"
-rw-r--r--libunwindstack/Android.bp9
1 files changed, 9 insertions, 0 deletions
diff --git a/libunwindstack/Android.bp b/libunwindstack/Android.bp
index 82f2e7301..a6bf73073 100644
--- a/libunwindstack/Android.bp
+++ b/libunwindstack/Android.bp
@@ -220,6 +220,15 @@ cc_defaults {
220 "libbase", 220 "libbase",
221 "liblzma", 221 "liblzma",
222 ], 222 ],
223 target: {
224 // Always disable optimizations for host to make it easier to debug.
225 host: {
226 cflags: [
227 "-O0",
228 "-g",
229 ],
230 },
231 },
223} 232}
224 233
225cc_binary { 234cc_binary {