summaryrefslogtreecommitdiff
path: root/common_audio
diff options
context:
space:
mode:
authorandrew@webrtc.org <andrew@webrtc.org>2014-08-29 17:41:13 +0000
committerandrew@webrtc.org <andrew@webrtc.org>2014-08-29 17:41:13 +0000
commite2285d5a49c8133d22e423714b2800266128fe85 (patch)
tree577f415c80f299a2dd2ea4c2ddee8efe27cb2ca2 /common_audio
parent06c375d5437f9db90a59152a585882eaaea6fb29 (diff)
downloadwebrtc-e2285d5a49c8133d22e423714b2800266128fe85.tar.gz
Add LTO support for Android Chromium.
This is to add support for a Link-Time Optimizations experiment in Android Chromium. As it is disabled by default, it won't change anything for most configurations. BUG=chromium:407544 R=andrew@webrtc.org, tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/21299004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7009 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'common_audio')
-rw-r--r--common_audio/common_audio.gyp9
1 files changed, 9 insertions, 0 deletions
diff --git a/common_audio/common_audio.gyp b/common_audio/common_audio.gyp
index 58b9bb98..ae3bacb7 100644
--- a/common_audio/common_audio.gyp
+++ b/common_audio/common_audio.gyp
@@ -184,6 +184,15 @@
'signal_processing/min_max_operations_neon.S',
'signal_processing/vector_scaling_operations_neon.S',
],
+ 'conditions': [
+ # Disable LTO in common_audio_neon target due to compiler bug
+ ['use_lto==1', {
+ 'cflags!': [
+ '-flto',
+ '-ffat-lto-objects',
+ ],
+ }],
+ ],
},
], # targets
}],