Commit 7cb01d93 authored by dmaclach@chromium.org's avatar dmaclach@chromium.org

turn on optimizations for sse2 on mac debug

This speeds up the plugin significantly, making it much more usable in a debug build on mac.

BUG=NONE
TEST=BUILD


Review URL: http://codereview.chromium.org/6990068

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86648 0039d316-1c4b-4281-b951-d872f2087c98
parent 792b343b
......@@ -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',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment