Libunwindstack: Add -O0 to tools defaults on host

Extend the debug support from the host library to host tools.

Test: mmma system/core/libunwindstack
Change-Id: Ib6ea5f021d6b8139c545eaa2e6b1675befa4d3bd
This commit is contained in:
Andreas Gampe 2018-05-21 08:24:20 -07:00
parent 74bf81443f
commit 8ccbe4258e

View file

@ -220,6 +220,15 @@ cc_defaults {
"libbase",
"liblzma",
],
target: {
// Always disable optimizations for host to make it easier to debug.
host: {
cflags: [
"-O0",
"-g",
],
},
},
}
cc_binary {