Turn off LTO for skia_nanobench on Android

This binary triggers a compiler bug when built with ThinLTO. Opt it out
of LTO to workaround the breakage.

Change-Id: Idf23d384328d19c5a146375d466a568ed2f0a827
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/495596
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Derek Sollenberger <djsollen@google.com>
This commit is contained in:
Yi Kong 2022-01-15 16:05:22 +08:00 committed by SkCQ
parent 7022d74567
commit 466df1e697

View File

@ -387,6 +387,10 @@ cc_test {
srcs: [
$nanobench_srcs
],
lto: {
never: true,
},
}
cc_library_shared {