summaryrefslogtreecommitdiffstats
path: root/gpu/gpu.gyp
diff options
context:
space:
mode:
authorfdegans <fdegans@chromium.org>2014-10-23 04:49:54 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-23 11:50:15 +0000
commitd7a59f95af820ebe6c026ac6b3483199f79c08a8 (patch)
treec138f1f464078cb0407c2cadb86ded372da108d0 /gpu/gpu.gyp
parentb211c7d5094a7ae1af59b557d834c9ca8184dcd9 (diff)
downloadchromium_src-d7a59f95af820ebe6c026ac6b3483199f79c08a8.zip
chromium_src-d7a59f95af820ebe6c026ac6b3483199f79c08a8.tar.gz
chromium_src-d7a59f95af820ebe6c026ac6b3483199f79c08a8.tar.bz2
Add Link-Time Optimizations support for Android.
TBR=sergeyu, shess, cpu, jln BUG=407544 Review URL: https://codereview.chromium.org/646873004 Cr-Commit-Position: refs/heads/master@{#300872}
Diffstat (limited to 'gpu/gpu.gyp')
-rw-r--r--gpu/gpu.gyp8
1 files changed, 8 insertions, 0 deletions
diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp
index c152baf..5968dab 100644
--- a/gpu/gpu.gyp
+++ b/gpu/gpu.gyp
@@ -29,6 +29,11 @@
'sources': [
'<@(gles2_implementation_source_files)',
],
+ 'includes': [
+ # Disable LTO due to ELF section name out of range
+ # crbug.com/422251
+ '../build/android/disable_lto.gypi',
+ ],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
@@ -479,6 +484,9 @@
'includes': [
'command_buffer_service.gypi',
'../build/android/increase_size_for_speed.gypi',
+ # Disable LTO due to ELF section name out of range
+ # crbug.com/422251
+ '../build/android/disable_lto.gypi',
],
'dependencies': [
'command_buffer_common',