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 cras (ChromeOS audio) library. | 8 # Override to dynamically link the cras (ChromeOS audio) library. |
9 'use_cras%': 0, | 9 'use_cras%': 0, |
10 # Option e.g. for Linux distributions to link pulseaudio directly | 10 # Option e.g. for Linux distributions to link pulseaudio directly |
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
970 'formats/mpeg/adts_stream_parser.h', | 970 'formats/mpeg/adts_stream_parser.h', |
971 'formats/mpeg/mp3_stream_parser.cc', | 971 'formats/mpeg/mp3_stream_parser.cc', |
972 'formats/mpeg/mp3_stream_parser.h', | 972 'formats/mpeg/mp3_stream_parser.h', |
973 'formats/mpeg/mpeg_audio_stream_parser_base.cc', | 973 'formats/mpeg/mpeg_audio_stream_parser_base.cc', |
974 'formats/mpeg/mpeg_audio_stream_parser_base.h', | 974 'formats/mpeg/mpeg_audio_stream_parser_base.h', |
975 ], | 975 ], |
976 }], | 976 }], |
977 ['target_arch=="ia32" or target_arch=="x64"', { | 977 ['target_arch=="ia32" or target_arch=="x64"', { |
978 'dependencies': [ | 978 'dependencies': [ |
979 'media_asm', | 979 'media_asm', |
980 'media_mmx', | |
981 'media_sse2', | 980 'media_sse2', |
982 ], | 981 ], |
983 'sources': [ | 982 'sources': [ |
984 'base/simd/convert_yuv_to_rgb_x86.cc', | 983 'base/simd/convert_yuv_to_rgb_x86.cc', |
985 ], | 984 ], |
986 }], | 985 }], |
987 ['OS!="linux" and OS!="win"', { | 986 ['OS!="linux" and OS!="win"', { |
988 'sources!': [ | 987 'sources!': [ |
989 'base/keyboard_event_counter.cc', | 988 'base/keyboard_event_counter.cc', |
990 'base/keyboard_event_counter.h', | 989 'base/keyboard_event_counter.h', |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1406 }, | 1405 }, |
1407 ], | 1406 ], |
1408 'conditions': [ | 1407 'conditions': [ |
1409 ['target_arch!="arm"', { | 1408 ['target_arch!="arm"', { |
1410 'targets': [ | 1409 'targets': [ |
1411 { | 1410 { |
1412 'target_name': 'media_asm', | 1411 'target_name': 'media_asm', |
1413 'type': 'static_library', | 1412 'type': 'static_library', |
1414 'sources': [ | 1413 'sources': [ |
1415 'base/simd/convert_rgb_to_yuv_ssse3.asm', | 1414 'base/simd/convert_rgb_to_yuv_ssse3.asm', |
1416 'base/simd/convert_yuv_to_rgb_mmx.asm', | |
1417 'base/simd/convert_yuv_to_rgb_sse.asm', | 1415 'base/simd/convert_yuv_to_rgb_sse.asm', |
1418 'base/simd/convert_yuva_to_argb_mmx.asm', | 1416 'base/simd/convert_yuva_to_argb_mmx.asm', |
1419 'base/simd/empty_register_state_mmx.asm', | 1417 'base/simd/empty_register_state_mmx.asm', |
1420 'base/simd/linear_scale_yuv_to_rgb_mmx.asm', | 1418 'base/simd/linear_scale_yuv_to_rgb_mmx.asm', |
1421 'base/simd/linear_scale_yuv_to_rgb_sse.asm', | 1419 'base/simd/linear_scale_yuv_to_rgb_sse.asm', |
1422 'base/simd/scale_yuv_to_rgb_mmx.asm', | 1420 'base/simd/scale_yuv_to_rgb_mmx.asm', |
1423 'base/simd/scale_yuv_to_rgb_sse.asm', | 1421 'base/simd/scale_yuv_to_rgb_sse.asm', |
1424 ], | 1422 ], |
1425 'conditions': [ | 1423 'conditions': [ |
1426 ['component=="shared_library"', { | 1424 ['component=="shared_library"', { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1488 'base/simd/media_export.asm', | 1486 'base/simd/media_export.asm', |
1489 'base/simd/scale_yuv_to_rgb_mmx.inc', | 1487 'base/simd/scale_yuv_to_rgb_mmx.inc', |
1490 ], | 1488 ], |
1491 }, | 1489 }, |
1492 'msvs_2010_disable_uldi_when_referenced': 1, | 1490 'msvs_2010_disable_uldi_when_referenced': 1, |
1493 'includes': [ | 1491 'includes': [ |
1494 '../third_party/yasm/yasm_compile.gypi', | 1492 '../third_party/yasm/yasm_compile.gypi', |
1495 ], | 1493 ], |
1496 }, | 1494 }, |
1497 { | 1495 { |
1498 'target_name': 'media_mmx', | |
1499 'type': 'static_library', | |
1500 'cflags': [ | |
1501 '-mmmx', | |
1502 ], | |
1503 'defines': [ | |
1504 'MEDIA_IMPLEMENTATION', | |
1505 ], | |
1506 'include_dirs': [ | |
1507 '..', | |
1508 ], | |
1509 'sources': [ | |
1510 'base/simd/filter_yuv_mmx.cc', | |
1511 ], | |
1512 }, | |
1513 { | |
1514 'target_name': 'media_sse2', | 1496 'target_name': 'media_sse2', |
1515 'type': 'static_library', | 1497 'type': 'static_library', |
1516 'cflags': [ | 1498 'cflags': [ |
1517 '-msse2', | 1499 '-msse2', |
1518 ], | 1500 ], |
1519 'defines': [ | 1501 'defines': [ |
1520 'MEDIA_IMPLEMENTATION', | 1502 'MEDIA_IMPLEMENTATION', |
1521 ], | 1503 ], |
1522 'include_dirs': [ | 1504 'include_dirs': [ |
1523 '..', | 1505 '..', |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1745 ], | 1727 ], |
1746 }], | 1728 }], |
1747 ], | 1729 ], |
1748 }], | 1730 }], |
1749 ], | 1731 ], |
1750 }, | 1732 }, |
1751 ], | 1733 ], |
1752 }], | 1734 }], |
1753 ], | 1735 ], |
1754 } | 1736 } |
OLD | NEW |