Disable ARM32 libgcc

ARM32 does not depend on libgcc to provide unwinding symbols.

Test: TreeHugger
Change-Id: I68f1cd3c4e1ff9713ffe4e3ac02bca053aced116
This commit is contained in:
Yi Kong 2020-04-04 02:14:50 +08:00
parent 3d568ddd34
commit 14b65d19a7
1 changed files with 2 additions and 1 deletions

View File

@ -626,7 +626,8 @@ toolchain_library {
arch: {
arm: {
src: "prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9.x/libgcc.a",
repack_objects_to_keep: ["unwind-arm.o", "libunwind.o", "pr-support.o"],
repack_objects_to_keep: [],
enabled: false,
},
arm64: {
src: "prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9.x/libgcc.a",