Merge "Remove local LTO workaround" into main
diff --git a/Android.bp b/Android.bp
index 56676ff..9cf2380 100644
--- a/Android.bp
+++ b/Android.bp
@@ -177,26 +177,9 @@
},
}
-// TODO: Remove this when b/328163089 is fixed.
-// Thin lto will be enabled by default in the future.
-cc_defaults {
- name: "libz_thin_lto_defaults",
-
- target: {
- android_arm64: {
- lto: {
- thin: true,
- },
- },
- },
-}
-
cc_library {
name: "libz",
- defaults: [
- "libz_defaults",
- "libz_thin_lto_defaults",
- ],
+ defaults: ["libz_defaults"],
whole_static_libs: ["libz_static"],
@@ -252,7 +235,6 @@
// can and do differ over time.
cc_library {
name: "libz_stable",
- defaults: ["libz_thin_lto_defaults"],
visibility: [
"//bootable/recovery/applypatch",
"//bootable/recovery/tests",