Index: build/config/android/BUILD.gn |
diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn |
index 8343861ab103a02cec8cde5e940b3994a2098f62..c0f89212e3f8815358dda2a90b9bb261373fabbe 100644 |
--- a/build/config/android/BUILD.gn |
+++ b/build/config/android/BUILD.gn |
@@ -121,6 +121,15 @@ config("runtime_library") { |
} else { |
libs = [ "c++_static" ] |
} |
+ libs += [ |
+ "c++abi", |
+ "android_support", |
+ ] |
+ |
+ # arm builds of libc++ starting in NDK r12 depend on unwind. |
+ if (current_cpu == "arm") { |
+ libs += [ "unwind" ] |
+ } |
# Manually link the libgcc.a that the cross compiler uses. This is |
# absolute because the linker will look inside the sysroot if it's not. |