Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: media/media.gyp

Issue 6990068: turn on optimizations for sse2 on mac debug (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'player_x11_renderer%': 'x11', 8 'player_x11_renderer%': 'x11',
9 }, 9 },
10 'targets': [ 10 'targets': [
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 'type': 'static_library', 308 'type': 'static_library',
309 'include_dirs': [ 309 'include_dirs': [
310 '..', 310 '..',
311 ], 311 ],
312 'conditions': [ 312 'conditions': [
313 [ 'os_posix == 1 and OS != "mac"', { 313 [ 'os_posix == 1 and OS != "mac"', {
314 'cflags': [ 314 'cflags': [
315 '-msse2', 315 '-msse2',
316 ], 316 ],
317 }], 317 }],
318 [ 'OS == "mac"', {
319 'configurations': {
320 'Debug': {
321 'xcode_settings': {
322 # gcc on the mac builds horribly unoptimized sse code in debug
323 # mode. Since this is rarely going to be debugged, run with full
324 # optimizations in Debug as well as Release.
325 'GCC_OPTIMIZATION_LEVEL': '3', # -O3
326 },
327 },
328 },
329 }],
318 ], 330 ],
319 'sources': [ 331 'sources': [
320 'base/yuv_convert_sse2.cc', 332 'base/yuv_convert_sse2.cc',
321 ], 333 ],
322 }, 334 },
323 { 335 {
324 'target_name': 'ffmpeg_unittests', 336 'target_name': 'ffmpeg_unittests',
325 'type': 'executable', 337 'type': 'executable',
326 'dependencies': [ 338 'dependencies': [
327 'media', 339 'media',
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 ], 798 ],
787 }], 799 }],
788 ], 800 ],
789 } 801 }
790 802
791 # Local Variables: 803 # Local Variables:
792 # tab-width:2 804 # tab-width:2
793 # indent-tabs-mode:nil 805 # indent-tabs-mode:nil
794 # End: 806 # End:
795 # vim: set expandtab tabstop=2 shiftwidth=2: 807 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698