Android does not use a shared libunwind.so and its presence in the build
directory can be harmful, for example it can end up being dynamically
linked against while not being present on the device.
}
}
-if (libunwind_enable_shared) {
+if (libunwind_enable_shared && target_os != "android") {
shared_library("unwind_shared") {
output_dir = unwind_output_dir
output_name = "unwind"
group("src") {
deps = []
- if (libunwind_enable_shared) {
+ if (libunwind_enable_shared && target_os != "android") {
deps += [ ":unwind_shared" ]
}
if (libunwind_enable_static) {