aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2021-01-14 12:26:10 -0800
committerStephen Hines <srhines@google.com>2021-01-15 01:32:10 -0800
commit0f2c740a7cf36d8dd345b8d91ebe609ce040f87f (patch)
tree0571fedc9bc2b9fdee6feba9a368eb330242fac8
parent65c164706bc4cc5deb780f83cccfd12228b50393 (diff)
downloadcompiler-rt-0f2c740a7cf36d8dd345b8d91ebe609ce040f87f.tar.gz
Switch RenderScript's compiler-rt to existing unwinders.
Test: atest CtsRenderscriptTestCases Change-Id: Ib973bbd8c4e406bc76cd2cb7d78aba696b156f02
-rw-r--r--Android.bp15
1 files changed, 6 insertions, 9 deletions
diff --git a/Android.bp b/Android.bp
index 31ef8726b..c9a24833e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -370,20 +370,17 @@ cc_library {
ldflags: ["-Wl,--exclude-libs,libunwind_llvm.a"],
},
android_arm64: {
- static_libs: ["libunwindbacktrace", "libunwind_static"],
- ldflags: ["-Wl,--exclude-libs,libunwindbacktrace.a:libunwind.a"],
+ static_libs: ["libgcc_stripped"],
+ ldflags: ["-Wl,--exclude-libs,libgcc_stripped.a"],
},
android_x86: {
- static_libs: ["libunwindbacktrace", "libunwind_static"],
- ldflags: ["-Wl,--exclude-libs,libunwindbacktrace.a:libunwind.a"],
+ static_libs: ["libgcc_stripped"],
+ ldflags: ["-Wl,--exclude-libs,libgcc_stripped.a"],
},
android_x86_64: {
srcs: ["lib/builtins/ppc/floatditf.c"],
- static_libs: ["libunwindbacktrace", "libunwind_static"],
- ldflags: ["-Wl,--exclude-libs,libunwindbacktrace.a:libunwind.a"],
- },
- linux_glibc: {
- static_libs: ["libunwindbacktrace", "libunwind_static"],
+ static_libs: ["libgcc_stripped"],
+ ldflags: ["-Wl,--exclude-libs,libgcc_stripped.a"],
},
windows: {
enabled: true,