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 29 matching lines...) Expand all Loading... |
40 }, { | 40 }, { |
41 'pkg-config': 'pkg-config' | 41 'pkg-config': 'pkg-config' |
42 }], | 42 }], |
43 ], | 43 ], |
44 }, | 44 }, |
45 'includes': [ | 45 'includes': [ |
46 'media_cdm.gypi', | 46 'media_cdm.gypi', |
47 ], | 47 ], |
48 'targets': [ | 48 'targets': [ |
49 { | 49 { |
| 50 # GN version: //media |
50 'target_name': 'media', | 51 'target_name': 'media', |
51 'type': '<(component)', | 52 'type': '<(component)', |
52 'dependencies': [ | 53 'dependencies': [ |
53 '../base/base.gyp:base', | 54 '../base/base.gyp:base', |
54 '../base/base.gyp:base_i18n', | 55 '../base/base.gyp:base_i18n', |
55 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 56 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
56 '../crypto/crypto.gyp:crypto', | 57 '../crypto/crypto.gyp:crypto', |
57 '../gpu/gpu.gyp:command_buffer_common', | 58 '../gpu/gpu.gyp:command_buffer_common', |
58 '../skia/skia.gyp:skia', | 59 '../skia/skia.gyp:skia', |
59 '../third_party/libyuv/libyuv.gyp:libyuv', | 60 '../third_party/libyuv/libyuv.gyp:libyuv', |
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
992 }], | 993 }], |
993 ['OS!="linux" and OS!="win"', { | 994 ['OS!="linux" and OS!="win"', { |
994 'sources!': [ | 995 'sources!': [ |
995 'base/keyboard_event_counter.cc', | 996 'base/keyboard_event_counter.cc', |
996 'base/keyboard_event_counter.h', | 997 'base/keyboard_event_counter.h', |
997 ], | 998 ], |
998 }], | 999 }], |
999 ], | 1000 ], |
1000 }, | 1001 }, |
1001 { | 1002 { |
| 1003 # GN version: //media:media_unittests |
1002 'target_name': 'media_unittests', | 1004 'target_name': 'media_unittests', |
1003 'type': '<(gtest_target_type)', | 1005 'type': '<(gtest_target_type)', |
1004 'dependencies': [ | 1006 'dependencies': [ |
1005 'media', | 1007 'media', |
1006 'media_test_support', | 1008 'media_test_support', |
1007 'shared_memory_support', | 1009 'shared_memory_support', |
1008 '../base/base.gyp:base', | 1010 '../base/base.gyp:base', |
1009 '../base/base.gyp:base_i18n', | 1011 '../base/base.gyp:base_i18n', |
1010 '../base/base.gyp:test_support_base', | 1012 '../base/base.gyp:test_support_base', |
1011 '../gpu/gpu.gyp:command_buffer_common', | 1013 '../gpu/gpu.gyp:command_buffer_common', |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1280 'msvs_disabled_warnings': [ 4267, ], | 1282 'msvs_disabled_warnings': [ 4267, ], |
1281 }], | 1283 }], |
1282 ['OS=="mac"', { | 1284 ['OS=="mac"', { |
1283 'sources': [ | 1285 'sources': [ |
1284 'video/capture/mac/video_capture_device_factory_mac_unittest.mm', | 1286 'video/capture/mac/video_capture_device_factory_mac_unittest.mm', |
1285 ] | 1287 ] |
1286 }], | 1288 }], |
1287 ], | 1289 ], |
1288 }, | 1290 }, |
1289 { | 1291 { |
| 1292 # GN version: //media:media_perftests |
1290 'target_name': 'media_perftests', | 1293 'target_name': 'media_perftests', |
1291 'type': '<(gtest_target_type)', | 1294 'type': '<(gtest_target_type)', |
1292 'dependencies': [ | 1295 'dependencies': [ |
1293 '../base/base.gyp:test_support_base', | 1296 '../base/base.gyp:test_support_base', |
1294 '../testing/gmock.gyp:gmock', | 1297 '../testing/gmock.gyp:gmock', |
1295 '../testing/gtest.gyp:gtest', | 1298 '../testing/gtest.gyp:gtest', |
1296 '../testing/perf/perf_test.gyp:perf_test', | 1299 '../testing/perf/perf_test.gyp:perf_test', |
1297 '../ui/gfx/gfx.gyp:gfx', | 1300 '../ui/gfx/gfx.gyp:gfx', |
1298 '../ui/gfx/gfx.gyp:gfx_test_support', | 1301 '../ui/gfx/gfx.gyp:gfx_test_support', |
1299 '../ui/gfx/gfx.gyp:gfx_geometry', | 1302 '../ui/gfx/gfx.gyp:gfx_geometry', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1331 }, { # media_use_ffmpeg==0 | 1334 }, { # media_use_ffmpeg==0 |
1332 'sources!': [ | 1335 'sources!': [ |
1333 'base/demuxer_perftest.cc', | 1336 'base/demuxer_perftest.cc', |
1334 'filters/pipeline_integration_perftest.cc', | 1337 'filters/pipeline_integration_perftest.cc', |
1335 'filters/pipeline_integration_test_base.cc', | 1338 'filters/pipeline_integration_test_base.cc', |
1336 ], | 1339 ], |
1337 }], | 1340 }], |
1338 ], | 1341 ], |
1339 }, | 1342 }, |
1340 { | 1343 { |
| 1344 # GN version: //media:test_support |
1341 'target_name': 'media_test_support', | 1345 'target_name': 'media_test_support', |
1342 'type': 'static_library', | 1346 'type': 'static_library', |
1343 'dependencies': [ | 1347 'dependencies': [ |
1344 'media', | 1348 'media', |
1345 'shared_memory_support', | 1349 'shared_memory_support', |
1346 '../base/base.gyp:base', | 1350 '../base/base.gyp:base', |
1347 '../skia/skia.gyp:skia', | 1351 '../skia/skia.gyp:skia', |
1348 '../testing/gmock.gyp:gmock', | 1352 '../testing/gmock.gyp:gmock', |
1349 '../testing/gtest.gyp:gtest', | 1353 '../testing/gtest.gyp:gtest', |
1350 ], | 1354 ], |
(...skipping 28 matching lines...) Expand all Loading... |
1379 'filters/test_video_frame_scheduler.cc', | 1383 'filters/test_video_frame_scheduler.cc', |
1380 'filters/test_video_frame_scheduler.h', | 1384 'filters/test_video_frame_scheduler.h', |
1381 'video/mock_video_decode_accelerator.cc', | 1385 'video/mock_video_decode_accelerator.cc', |
1382 'video/mock_video_decode_accelerator.h', | 1386 'video/mock_video_decode_accelerator.h', |
1383 ], | 1387 ], |
1384 }, | 1388 }, |
1385 { | 1389 { |
1386 # Minimal target for NaCl and other renderer side media clients which | 1390 # Minimal target for NaCl and other renderer side media clients which |
1387 # only need to send audio data across the shared memory to the browser | 1391 # only need to send audio data across the shared memory to the browser |
1388 # process. | 1392 # process. |
| 1393 # GN version: //media:shared_memory_support |
1389 'target_name': 'shared_memory_support', | 1394 'target_name': 'shared_memory_support', |
1390 'type': '<(component)', | 1395 'type': '<(component)', |
1391 'dependencies': [ | 1396 'dependencies': [ |
1392 '../base/base.gyp:base', | 1397 '../base/base.gyp:base', |
1393 ], | 1398 ], |
1394 'defines': [ | 1399 'defines': [ |
1395 'MEDIA_IMPLEMENTATION', | 1400 'MEDIA_IMPLEMENTATION', |
1396 ], | 1401 ], |
1397 'include_dirs': [ | 1402 'include_dirs': [ |
1398 '..', | 1403 '..', |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1702 'package_name': 'org/chromium/media', | 1707 'package_name': 'org/chromium/media', |
1703 'template_deps': ['video/capture/android/imageformat_list.h'], | 1708 'template_deps': ['video/capture/android/imageformat_list.h'], |
1704 }, | 1709 }, |
1705 'includes': [ '../build/android/java_cpp_template.gypi' ], | 1710 'includes': [ '../build/android/java_cpp_template.gypi' ], |
1706 }, | 1711 }, |
1707 ], | 1712 ], |
1708 }], | 1713 }], |
1709 ['media_use_ffmpeg==1', { | 1714 ['media_use_ffmpeg==1', { |
1710 'targets': [ | 1715 'targets': [ |
1711 { | 1716 { |
| 1717 # GN version: //media:ffmpeg_unittests |
1712 'target_name': 'ffmpeg_unittests', | 1718 'target_name': 'ffmpeg_unittests', |
1713 'type': 'executable', | 1719 'type': 'executable', |
1714 'dependencies': [ | 1720 'dependencies': [ |
1715 '../base/base.gyp:base', | 1721 '../base/base.gyp:base', |
1716 '../base/base.gyp:base_i18n', | 1722 '../base/base.gyp:base_i18n', |
1717 '../base/base.gyp:test_support_base', | 1723 '../base/base.gyp:test_support_base', |
1718 '../testing/gtest.gyp:gtest', | 1724 '../testing/gtest.gyp:gtest', |
1719 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 1725 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
1720 'media', | 1726 'media', |
1721 'media_test_support', | 1727 'media_test_support', |
1722 ], | 1728 ], |
1723 'sources': [ | 1729 'sources': [ |
1724 'ffmpeg/ffmpeg_unittest.cc', | 1730 'ffmpeg/ffmpeg_unittest.cc', |
1725 ], | 1731 ], |
1726 }, | 1732 }, |
1727 { | 1733 { |
| 1734 # GN version: //media:ffmpeg_regression_tests |
1728 'target_name': 'ffmpeg_regression_tests', | 1735 'target_name': 'ffmpeg_regression_tests', |
1729 'type': 'executable', | 1736 'type': 'executable', |
1730 'dependencies': [ | 1737 'dependencies': [ |
1731 '../base/base.gyp:test_support_base', | 1738 '../base/base.gyp:test_support_base', |
1732 '../testing/gmock.gyp:gmock', | 1739 '../testing/gmock.gyp:gmock', |
1733 '../testing/gtest.gyp:gtest', | 1740 '../testing/gtest.gyp:gtest', |
1734 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 1741 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
1735 '../ui/gfx/gfx.gyp:gfx_geometry', | 1742 '../ui/gfx/gfx.gyp:gfx_geometry', |
1736 'media', | 1743 'media', |
1737 'media_test_support', | 1744 'media_test_support', |
(...skipping 12 matching lines...) Expand all Loading... |
1750 ], | 1757 ], |
1751 }], | 1758 }], |
1752 ], | 1759 ], |
1753 }], | 1760 }], |
1754 ], | 1761 ], |
1755 }, | 1762 }, |
1756 ], | 1763 ], |
1757 }], | 1764 }], |
1758 ], | 1765 ], |
1759 } | 1766 } |
OLD | NEW |