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