Index: gpu/gpu.gyp |
diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp |
index c152baf768220f053f150dc6d753f4baf33d9143..5968dab11fc6b9a0e9356ac1784553c9a5bdfd9c 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', |