| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # Override to dynamically link the PulseAudio library. | 8 # Override to dynamically link the PulseAudio library. |
| 9 'use_pulseaudio%': 0, | 9 'use_pulseaudio%': 0, |
| 10 }, | 10 }, |
| (...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 462 [ 'target_arch == "x64"', { | 462 [ 'target_arch == "x64"', { |
| 463 # Source files optimized for X64 systems. | 463 # Source files optimized for X64 systems. |
| 464 'sources': [ | 464 'sources': [ |
| 465 'base/simd/linear_scale_yuv_to_rgb_mmx_x64.asm', | 465 'base/simd/linear_scale_yuv_to_rgb_mmx_x64.asm', |
| 466 'base/simd/scale_yuv_to_rgb_sse2_x64.asm', | 466 'base/simd/scale_yuv_to_rgb_sse2_x64.asm', |
| 467 ], | 467 ], |
| 468 }], | 468 }], |
| 469 [ 'os_posix == 1 and OS != "mac" and OS != "android"', { | 469 [ 'os_posix == 1 and OS != "mac" and OS != "android"', { |
| 470 'cflags': [ | 470 'cflags': [ |
| 471 '-msse2', | 471 '-msse2', |
| 472 '-msse3', | |
| 473 '-mssse3', | |
| 474 ], | |
| 475 }], | |
| 476 [ 'OS == "openbsd"', { | |
| 477 # OpenBSD's gcc (4.2.1) does not support -mssse3 | |
| 478 'cflags!': [ | |
| 479 '-mssse3', | |
| 480 ], | 472 ], |
| 481 }], | 473 }], |
| 482 [ 'OS == "mac"', { | 474 [ 'OS == "mac"', { |
| 483 'configurations': { | 475 'configurations': { |
| 484 'Debug': { | 476 'Debug': { |
| 485 'xcode_settings': { | 477 'xcode_settings': { |
| 486 # gcc on the mac builds horribly unoptimized sse code in debug | 478 # gcc on the mac builds horribly unoptimized sse code in debug |
| 487 # mode. Since this is rarely going to be debugged, run with full | 479 # mode. Since this is rarely going to be debugged, run with full |
| 488 # optimizations in Debug as well as Release. | 480 # optimizations in Debug as well as Release. |
| 489 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 | 481 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 899 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 891 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 900 ], | 892 ], |
| 901 'sources': [ | 893 'sources': [ |
| 902 'tools/media_bench/media_bench.cc', | 894 'tools/media_bench/media_bench.cc', |
| 903 ], | 895 ], |
| 904 }, | 896 }, |
| 905 ], | 897 ], |
| 906 }] | 898 }] |
| 907 ], | 899 ], |
| 908 } | 900 } |
| OLD | NEW |