Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index d67c5f1c0161218552903a322c0a7fede2474683..7ba1ac89be02101045f25d52e06f0f0b53c56b4a 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -689,7 +689,16 @@ |
}], |
['OS=="win" or OS=="linux"', { |
'enable_mdns%' : 1, |
- }] |
+ }], |
+ |
+ # Turns on compiler optimizations in V8 in Debug build, except |
+ # on android_clang, where we're hitting a weird linker error. |
+ # TODO(dpranke): http://crbug.com/266155 . |
+ ['OS=="android"', { |
+ 'v8_optimized_debug': 1, |
+ }, { |
+ 'v8_optimized_debug': 2, |
+ }], |
], |
# Set this to 1 to enable use of concatenated impulse responses |
@@ -842,6 +851,7 @@ |
'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', |
'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)', |
'enable_mdns%' : '<(enable_mdns)', |
+ 'v8_optimized_debug': '<(v8_optimized_debug)', |
# Use system mesa instead of bundled one. |
'use_system_mesa%': 0, |
@@ -1102,9 +1112,6 @@ |
# rlz codes for searches but do not use the library. |
'enable_rlz%': 0, |
- # Turns on compiler optimizations in V8 in Debug build. |
- 'v8_optimized_debug': 1, |
- |
# Turns on the i18n support in V8. |
'v8_enable_i18n_support': 1, |