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 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 'defines': [ | 915 'defines': [ |
916 'ENABLE_MPEG2TS_STREAM_PARSER', | 916 'ENABLE_MPEG2TS_STREAM_PARSER', |
917 ], | 917 ], |
918 }], | 918 }], |
919 ], | 919 ], |
920 }], | 920 }], |
921 ['target_arch=="ia32" or target_arch=="x64"', { | 921 ['target_arch=="ia32" or target_arch=="x64"', { |
922 'dependencies': [ | 922 'dependencies': [ |
923 'media_asm', | 923 'media_asm', |
924 'media_mmx', | 924 'media_mmx', |
925 'media_sse', | |
926 'media_sse2', | 925 'media_sse2', |
927 ], | 926 ], |
928 'sources': [ | 927 'sources': [ |
929 'base/simd/convert_yuv_to_rgb_x86.cc', | 928 'base/simd/convert_yuv_to_rgb_x86.cc', |
930 ], | 929 ], |
931 }], | 930 }], |
932 ['OS!="linux" and OS!="win"', { | 931 ['OS!="linux" and OS!="win"', { |
933 'sources!': [ | 932 'sources!': [ |
934 'base/keyboard_event_counter.cc', | 933 'base/keyboard_event_counter.cc', |
935 'base/keyboard_event_counter.h', | 934 'base/keyboard_event_counter.h', |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1331 ], | 1330 ], |
1332 'sources': [ | 1331 'sources': [ |
1333 '<@(shared_memory_support_sources)', | 1332 '<@(shared_memory_support_sources)', |
1334 ], | 1333 ], |
1335 'conditions': [ | 1334 'conditions': [ |
1336 ['arm_neon==1', { | 1335 ['arm_neon==1', { |
1337 'defines': [ | 1336 'defines': [ |
1338 'USE_NEON' | 1337 'USE_NEON' |
1339 ], | 1338 ], |
1340 }], | 1339 }], |
1341 ['target_arch=="ia32" or target_arch=="x64"', { | |
1342 'dependencies': [ | |
1343 'shared_memory_support_sse' | |
1344 ], | |
1345 }], | |
1346 ], | 1340 ], |
1347 }, | 1341 }, |
1348 ], | 1342 ], |
1349 'conditions': [ | 1343 'conditions': [ |
1350 ['target_arch!="arm"', { | 1344 ['target_arch!="arm"', { |
1351 'targets': [ | 1345 'targets': [ |
1352 { | 1346 { |
1353 'target_name': 'media_asm', | 1347 'target_name': 'media_asm', |
1354 'type': 'static_library', | 1348 'type': 'static_library', |
1355 'sources': [ | 1349 'sources': [ |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1445 'MEDIA_IMPLEMENTATION', | 1439 'MEDIA_IMPLEMENTATION', |
1446 ], | 1440 ], |
1447 'include_dirs': [ | 1441 'include_dirs': [ |
1448 '..', | 1442 '..', |
1449 ], | 1443 ], |
1450 'sources': [ | 1444 'sources': [ |
1451 'base/simd/filter_yuv_mmx.cc', | 1445 'base/simd/filter_yuv_mmx.cc', |
1452 ], | 1446 ], |
1453 }, | 1447 }, |
1454 { | 1448 { |
1455 'target_name': 'media_sse', | |
1456 'type': 'static_library', | |
1457 'cflags': [ | |
1458 '-msse', | |
1459 ], | |
1460 'defines': [ | |
1461 'MEDIA_IMPLEMENTATION', | |
1462 ], | |
1463 'include_dirs': [ | |
1464 '..', | |
1465 ], | |
1466 'sources': [ | |
1467 'base/simd/sinc_resampler_sse.cc', | |
1468 ], | |
1469 }, | |
1470 { | |
1471 'target_name': 'media_sse2', | 1449 'target_name': 'media_sse2', |
1472 'type': 'static_library', | 1450 'type': 'static_library', |
1473 'cflags': [ | 1451 'cflags': [ |
1474 '-msse2', | 1452 '-msse2', |
1475 ], | 1453 ], |
1476 'defines': [ | 1454 'defines': [ |
1477 'MEDIA_IMPLEMENTATION', | 1455 'MEDIA_IMPLEMENTATION', |
1478 ], | 1456 ], |
1479 'include_dirs': [ | 1457 'include_dirs': [ |
1480 '..', | 1458 '..', |
1481 ], | 1459 ], |
1482 'sources': [ | 1460 'sources': [ |
1483 'base/simd/convert_rgb_to_yuv_sse2.cc', | 1461 'base/simd/convert_rgb_to_yuv_sse2.cc', |
1484 'base/simd/convert_rgb_to_yuv_ssse3.cc', | 1462 'base/simd/convert_rgb_to_yuv_ssse3.cc', |
1485 'base/simd/filter_yuv_sse2.cc', | 1463 'base/simd/filter_yuv_sse2.cc', |
1486 ], | 1464 ], |
1487 }, | 1465 }, |
1488 { | |
1489 'target_name': 'shared_memory_support_sse', | |
1490 'type': 'static_library', | |
1491 'cflags': [ | |
1492 '-msse', | |
1493 ], | |
1494 'defines': [ | |
1495 'MEDIA_IMPLEMENTATION', | |
1496 ], | |
1497 'include_dirs': [ | |
1498 '..', | |
1499 ], | |
1500 'sources': [ | |
1501 'base/simd/vector_math_sse.cc', | |
1502 ], | |
1503 }, | |
1504 ], # targets | 1466 ], # targets |
1505 }], | 1467 }], |
1506 ['use_x11==1', { | 1468 ['use_x11==1', { |
1507 'targets': [ | 1469 'targets': [ |
1508 { | 1470 { |
1509 'target_name': 'player_x11', | 1471 'target_name': 'player_x11', |
1510 'type': 'executable', | 1472 'type': 'executable', |
1511 'dependencies': [ | 1473 'dependencies': [ |
1512 'media', | 1474 'media', |
1513 'shared_memory_support', | 1475 'shared_memory_support', |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1721 ], | 1683 ], |
1722 }], | 1684 }], |
1723 ], | 1685 ], |
1724 }], | 1686 }], |
1725 ], | 1687 ], |
1726 }, | 1688 }, |
1727 ], | 1689 ], |
1728 }], | 1690 }], |
1729 ], | 1691 ], |
1730 } | 1692 } |
OLD | NEW |