Reland "Enable LTO in Android tree."
This reverts commit 3d46e0d12b172526482d343a6d1a25a9a061af35.
Reason for revert: We should enable this now to let it soak.
Change-Id: I7d0f672ba5ee1c34320fe840e90c951f917cef08
diff --git a/Android.bp b/Android.bp
index b7fc087..deb460b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -728,6 +728,13 @@
cflags: ["-DPERFETTO_BUILD_WITH_ANDROID_USERDEBUG"],
},
},
+ target: {
+ android: {
+ lto: {
+ thin: true,
+ },
+ },
+ },
}
// GN target: //:perfetto_integrationtests