diff options
-rw-r--r-- | services/vibratorservice/Android.bp | 6 | ||||
-rw-r--r-- | services/vibratorservice/test/Android.bp | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/services/vibratorservice/Android.bp b/services/vibratorservice/Android.bp index 2002bdf628..5403baf2e7 100644 --- a/services/vibratorservice/Android.bp +++ b/services/vibratorservice/Android.bp @@ -59,6 +59,12 @@ cc_library_shared { "-Wunreachable-code", ], + // FIXME: Workaround LTO build breakage + // http://b/241699694 + lto: { + never: true, + }, + local_include_dirs: ["include"], export_include_dirs: ["include"], diff --git a/services/vibratorservice/test/Android.bp b/services/vibratorservice/test/Android.bp index adba3dbcd5..32947246d8 100644 --- a/services/vibratorservice/test/Android.bp +++ b/services/vibratorservice/test/Android.bp @@ -57,9 +57,4 @@ cc_test { static_libs: [ "libgmock", ], - // FIXME: Workaround LTO build breakage - // http://b/241699694 - lto: { - never: true, - }, } |