Remove rtc_use_lto GN arg.
This CL is a no-op since rtc_use_lto is always false and in general such change should probably be implemented in //build/config/compiler/BUILD.gn. Bug: chromium:408997 Change-Id: Id37d3181e66e699f8cd535aee1af7609352a7259 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/149833 Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28919}
This commit is contained in:

committed by
Commit Bot

parent
5ceb4ac5ed
commit
2dac4e4e35
@ -285,15 +285,6 @@ if (rtc_build_with_neon) {
|
||||
cflags = [ "-mfpu=neon" ]
|
||||
}
|
||||
|
||||
# Disable LTO on NEON targets due to compiler bug.
|
||||
# TODO(fdegans): Enable this. See crbug.com/408997.
|
||||
if (rtc_use_lto) {
|
||||
cflags -= [
|
||||
"-flto",
|
||||
"-ffat-lto-objects",
|
||||
]
|
||||
}
|
||||
|
||||
deps = [
|
||||
":common_audio_neon_c",
|
||||
":fir_filter",
|
||||
@ -318,15 +309,6 @@ if (rtc_build_with_neon) {
|
||||
cflags = [ "-mfpu=neon" ]
|
||||
}
|
||||
|
||||
# Disable LTO on NEON targets due to compiler bug.
|
||||
# TODO(fdegans): Enable this. See crbug.com/408997.
|
||||
if (rtc_use_lto) {
|
||||
cflags -= [
|
||||
"-flto",
|
||||
"-ffat-lto-objects",
|
||||
]
|
||||
}
|
||||
|
||||
deps = [
|
||||
":common_audio_c",
|
||||
"../rtc_base:checks",
|
||||
|
@ -682,15 +682,6 @@ if (rtc_build_with_neon) {
|
||||
cflags = [ "-mfpu=neon" ]
|
||||
}
|
||||
|
||||
# Disable LTO on NEON targets due to compiler bug.
|
||||
# TODO(fdegans): Enable this. See crbug.com/408997.
|
||||
if (rtc_use_lto) {
|
||||
cflags -= [
|
||||
"-flto",
|
||||
"-ffat-lto-objects",
|
||||
]
|
||||
}
|
||||
|
||||
deps = [
|
||||
":isac_fix_common",
|
||||
"../../common_audio",
|
||||
|
@ -348,15 +348,6 @@ rtc_source_set("audio_processing_c") {
|
||||
suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ]
|
||||
cflags = [ "-mfpu=neon" ]
|
||||
}
|
||||
|
||||
# Disable LTO on NEON targets due to compiler bug.
|
||||
# TODO(fdegans): Enable this. See crbug.com/408997.
|
||||
if (rtc_use_lto) {
|
||||
cflags -= [
|
||||
"-flto",
|
||||
"-ffat-lto-objects",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -63,15 +63,6 @@ rtc_source_set("aec_core") {
|
||||
cflags += [ "-mfpu=neon" ]
|
||||
}
|
||||
|
||||
# Disable LTO on NEON targets due to compiler bug.
|
||||
# TODO(fdegans): Enable this. See crbug.com/408997.
|
||||
if (rtc_use_lto) {
|
||||
cflags -= [
|
||||
"-flto",
|
||||
"-ffat-lto-objects",
|
||||
]
|
||||
}
|
||||
|
||||
deps += [ "../../../common_audio" ]
|
||||
}
|
||||
|
||||
|
@ -34,15 +34,6 @@ rtc_source_set("aecm_core") {
|
||||
suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ]
|
||||
cflags += [ "-mfpu=neon" ]
|
||||
}
|
||||
|
||||
# Disable LTO on NEON targets due to compiler bug.
|
||||
# TODO(fdegans): Enable this. See crbug.com/408997.
|
||||
if (rtc_use_lto) {
|
||||
cflags -= [
|
||||
"-flto",
|
||||
"-ffat-lto-objects",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
if (current_cpu == "mipsel") {
|
||||
|
@ -79,15 +79,6 @@ rtc_source_set("agc_legacy_c") {
|
||||
suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ]
|
||||
cflags = [ "-mfpu=neon" ]
|
||||
}
|
||||
|
||||
# Disable LTO on NEON targets due to compiler bug.
|
||||
# TODO(fdegans): Enable this. See crbug.com/408997.
|
||||
if (rtc_use_lto) {
|
||||
cflags -= [
|
||||
"-flto",
|
||||
"-ffat-lto-objects",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -67,15 +67,6 @@ rtc_source_set("ooura_fft") {
|
||||
suppressed_configs += [ "//build/config/compiler:compiler_arm_fpu" ]
|
||||
cflags += [ "-mfpu=neon" ]
|
||||
}
|
||||
|
||||
# Disable LTO on NEON targets due to compiler bug.
|
||||
# TODO(fdegans): Enable this. See crbug.com/408997.
|
||||
if (rtc_use_lto) {
|
||||
cflags -= [
|
||||
"-flto",
|
||||
"-ffat-lto-objects",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
if (current_cpu == "mipsel" && mips_float_abi == "hard") {
|
||||
|
@ -124,11 +124,6 @@ declare_args() {
|
||||
# NDK r16 or above.
|
||||
rtc_enable_android_aaudio = false
|
||||
|
||||
# Link-Time Optimizations.
|
||||
# Executes code generation at link-time instead of compile-time.
|
||||
# https://gcc.gnu.org/wiki/LinkTimeOptimization
|
||||
rtc_use_lto = false
|
||||
|
||||
# Set to "func", "block", "edge" for coverage generation.
|
||||
# At unit test runtime set UBSAN_OPTIONS="coverage=1".
|
||||
# It is recommend to set include_examples=0.
|
||||
|
Reference in New Issue
Block a user