Merge "Re-enable LTO for linker"

This commit is contained in:
Yi Kong 2021-11-04 10:34:31 +00:00 committed by Gerrit Code Review
commit 7d3f322e64
2 changed files with 4 additions and 6 deletions

View file

@ -122,6 +122,10 @@ cc_defaults {
cflags: ["-DUSE_SCUDO"], cflags: ["-DUSE_SCUDO"],
}, },
}, },
lto: {
never: true,
},
} }
libc_scudo_product_variables = { libc_scudo_product_variables = {
@ -1782,9 +1786,6 @@ cc_library {
"com.android.runtime", "com.android.runtime",
], ],
lto: {
never: true,
},
target: { target: {
native_bridge: { native_bridge: {
shared: { shared: {

View file

@ -391,9 +391,6 @@ cc_binary {
}, },
}, },
lto: {
never: true,
},
pgo: { pgo: {
sampling: true, sampling: true,
}, },