Merge "Turn on LTO for libc++.so" am: 0860713e9e

Original change: https://android-review.googlesource.com/c/platform/external/libcxx/+/2623791

Change-Id: I1dd6a289739a070aea058f7c24b6f9c356000ab9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index c759964..c577256 100644
--- a/Android.bp
+++ b/Android.bp
@@ -172,6 +172,9 @@
     whole_static_libs: ["libc++_static"],
     stl: "none",
 
+    lto: {
+        thin: true,
+    },
     afdo: true,
 
     target: {