Re-enable LTO for libcodec2_hidl_client
The breakage is fixed by aosp/2661935, the workaround is no longer needed.
Test: boot panther
Bug: http://b/170595429
Change-Id: Ia865c9ead60798bd91f2ad89d95b8a310546a665
diff --git a/media/codec2/hal/hidl/1.1/utils/Android.bp b/media/codec2/hal/hidl/1.1/utils/Android.bp
index ed77a15..4f86511 100644
--- a/media/codec2/hal/hidl/1.1/utils/Android.bp
+++ b/media/codec2/hal/hidl/1.1/utils/Android.bp
@@ -52,12 +52,6 @@
"libstagefright_bufferpool@2.0.1",
"libui",
],
-
- // Device does not boot when global ThinLTO is enabled for this library.
- // http://b/170595429
- lto: {
- never: true,
- },
}
diff --git a/media/codec2/hal/hidl/1.2/utils/Android.bp b/media/codec2/hal/hidl/1.2/utils/Android.bp
index e4e4ad5..b92dc07 100644
--- a/media/codec2/hal/hidl/1.2/utils/Android.bp
+++ b/media/codec2/hal/hidl/1.2/utils/Android.bp
@@ -56,12 +56,6 @@
"libstagefright_bufferpool@2.0.1",
"libui",
],
-
- // Device does not boot when global ThinLTO is enabled for this library.
- // http://b/170595429
- lto: {
- never: true,
- },
}