Merge "Turn on LTO for libc++.so" am: 0860713e9e am: 8be550233c am: c29582f711 am: 517c70c1d0 am: 791851c8b5 am: d6a1d90541

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

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