Index: media/media.gyp |
diff --git a/media/media.gyp b/media/media.gyp |
index 384fee8ba30ae53173721de9a1ef7f1511dc8d50..59c3690bc6dbf6e3b53aeb7de42daf3b017d9fc3 100644 |
--- a/media/media.gyp |
+++ b/media/media.gyp |
@@ -315,6 +315,18 @@ |
'-msse2', |
], |
}], |
+ [ 'OS == "mac"', { |
+ 'configurations': { |
+ 'Debug': { |
+ 'xcode_settings': { |
+ # gcc on the mac builds horribly unoptimized sse code in debug |
+ # mode. Since this is rarely going to be debugged, run with full |
+ # optimizations in Debug as well as Release. |
+ 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 |
+ }, |
+ }, |
+ }, |
+ }], |
], |
'sources': [ |
'base/yuv_convert_sse2.cc', |