Merge "Revert^2 "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt"" am: 252831b03a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1661300 Change-Id: I5b330c63f7ac37ed479cc776d6f642f1419de5b5
This commit is contained in:
commit
a9cf131c22
|
@ -188,12 +188,7 @@ func (stl *stl) deps(ctx BaseModuleContext, deps Deps) Deps {
|
||||||
if needsLibAndroidSupport(ctx) {
|
if needsLibAndroidSupport(ctx) {
|
||||||
deps.StaticLibs = append(deps.StaticLibs, "ndk_libandroid_support")
|
deps.StaticLibs = append(deps.StaticLibs, "ndk_libandroid_support")
|
||||||
}
|
}
|
||||||
// TODO: Switch the NDK over to the LLVM unwinder for non-arm32 architectures.
|
deps.StaticLibs = append(deps.StaticLibs, "ndk_libunwind")
|
||||||
if ctx.Arch().ArchType == android.Arm {
|
|
||||||
deps.StaticLibs = append(deps.StaticLibs, "ndk_libunwind")
|
|
||||||
} else {
|
|
||||||
deps.StaticLibs = append(deps.StaticLibs, "libgcc_stripped")
|
|
||||||
}
|
|
||||||
default:
|
default:
|
||||||
panic(fmt.Errorf("Unknown stl: %q", stl.Properties.SelectedStl))
|
panic(fmt.Errorf("Unknown stl: %q", stl.Properties.SelectedStl))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue