Merge "Set optimize_for_size property for libLLVM_android" into main am: fd4a0f41f0 am: 5fd3aa567f

Original change: https://android-review.googlesource.com/c/platform/external/llvm/+/3104797

Change-Id: I7b45e4d65bfe5ab830d28e685fdeafaccbf5144c
Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/Android.bp b/Android.bp
index cdf8594..7e46bb4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -72,6 +72,10 @@
 
     cpp_std: "c++11",
 
+    // Optimize for size. It is only used by Renderscript, which is deprecated and is rarely
+    // used.
+    optimize_for_size: true,
+
     cflags: [
         "-D_GNU_SOURCE",
         "-D__STDC_LIMIT_MACROS",