Chromium Code Reviews| 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 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1477 '<@(shared_memory_support_sources)', | 1477 '<@(shared_memory_support_sources)', |
| 1478 ], | 1478 ], |
| 1479 'conditions': [ | 1479 'conditions': [ |
| 1480 ['arm_neon==1', { | 1480 ['arm_neon==1', { |
| 1481 'defines': [ | 1481 'defines': [ |
| 1482 'USE_NEON' | 1482 'USE_NEON' |
| 1483 ], | 1483 ], |
| 1484 }], | 1484 }], |
| 1485 ], | 1485 ], |
| 1486 }, | 1486 }, |
| 1487 { | |
| 1488 # Minimal target for media/cast for clients that don't need all of media. | |
| 1489 # GN version: //media:media_cast | |
|
Alpha Left Google
2014/09/17 23:59:27
I don't think media_cast is the suitable name. Thi
| |
| 1490 'target_name': 'media_cast', | |
|
miu
2014/09/17 23:56:00
The target name sounds like this is building the C
| |
| 1491 'type': '<(component)', | |
| 1492 'dependencies': [ | |
| 1493 '../base/base.gyp:base', | |
| 1494 '../ui/gfx/gfx.gyp:gfx_geometry', | |
| 1495 ], | |
| 1496 'defines': [ | |
| 1497 'MEDIA_IMPLEMENTATION', | |
| 1498 'MEDIA_CAST', | |
| 1499 ], | |
| 1500 'include_dirs': [ | |
| 1501 '..', | |
| 1502 ], | |
| 1503 'includes': [ | |
| 1504 'shared_memory_support.gypi', | |
| 1505 ], | |
| 1506 'sources': [ | |
| 1507 '<@(shared_memory_support_sources)', | |
| 1508 'base/mac/coremedia_glue.h', | |
| 1509 'base/mac/coremedia_glue.mm', | |
| 1510 'base/mac/corevideo_glue.h', | |
| 1511 'base/mac/videotoolbox_glue.h', | |
| 1512 'base/mac/videotoolbox_glue.mm', | |
| 1513 'base/video_frame.cc', | |
| 1514 'base/video_frame.h', | |
| 1515 ], | |
| 1516 'conditions': [ | |
| 1517 ['arm_neon==1', { | |
| 1518 'defines': [ | |
| 1519 'USE_NEON' | |
| 1520 ], | |
| 1521 }], | |
| 1522 ], # conditions | |
| 1523 'target_conditions': [ | |
| 1524 ['OS == "ios" and _toolset != "host"', { | |
| 1525 'sources/': [ | |
| 1526 # Pull in specific Mac files for iOS (which have been filtered out | |
| 1527 # by file name rules). | |
| 1528 ['include', '^base/mac/coremedia_glue\\.h$'], | |
| 1529 ['include', '^base/mac/coremedia_glue\\.mm$'], | |
| 1530 ['include', '^base/mac/corevideo_glue\\.h$'], | |
| 1531 ['include', '^base/mac/videotoolbox_glue\\.h$'], | |
| 1532 ['include', '^base/mac/videotoolbox_glue\\.mm$'], | |
| 1533 ], | |
| 1534 }], | |
| 1535 ], # target_conditions | |
| 1536 }, | |
| 1487 ], | 1537 ], |
| 1488 'conditions': [ | 1538 'conditions': [ |
| 1489 ['target_arch!="arm"', { | 1539 ['target_arch!="arm"', { |
| 1490 'targets': [ | 1540 'targets': [ |
| 1491 { | 1541 { |
| 1492 'target_name': 'media_asm', | 1542 'target_name': 'media_asm', |
| 1493 'type': 'static_library', | 1543 'type': 'static_library', |
| 1494 'sources': [ | 1544 'sources': [ |
| 1495 'base/simd/convert_rgb_to_yuv_ssse3.asm', | 1545 'base/simd/convert_rgb_to_yuv_ssse3.asm', |
| 1496 'base/simd/convert_yuv_to_rgb_sse.asm', | 1546 'base/simd/convert_yuv_to_rgb_sse.asm', |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1816 ], | 1866 ], |
| 1817 }], | 1867 }], |
| 1818 ], | 1868 ], |
| 1819 }], | 1869 }], |
| 1820 ], | 1870 ], |
| 1821 }, | 1871 }, |
| 1822 ], | 1872 ], |
| 1823 }], | 1873 }], |
| 1824 ], | 1874 ], |
| 1825 } | 1875 } |
| OLD | NEW |