| 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 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 988 }], | 989 }], |
| 989 ['OS!="linux" and OS!="win"', { | 990 ['OS!="linux" and OS!="win"', { |
| 990 'sources!': [ | 991 'sources!': [ |
| 991 'base/keyboard_event_counter.cc', | 992 'base/keyboard_event_counter.cc', |
| 992 'base/keyboard_event_counter.h', | 993 'base/keyboard_event_counter.h', |
| 993 ], | 994 ], |
| 994 }], | 995 }], |
| 995 ], | 996 ], |
| 996 }, | 997 }, |
| 997 { | 998 { |
| 999 # GN version: //media:media_unittests |
| 998 'target_name': 'media_unittests', | 1000 'target_name': 'media_unittests', |
| 999 'type': '<(gtest_target_type)', | 1001 'type': '<(gtest_target_type)', |
| 1000 'dependencies': [ | 1002 'dependencies': [ |
| 1001 'media', | 1003 'media', |
| 1002 'media_test_support', | 1004 'media_test_support', |
| 1003 'shared_memory_support', | 1005 'shared_memory_support', |
| 1004 '../base/base.gyp:base', | 1006 '../base/base.gyp:base', |
| 1005 '../base/base.gyp:base_i18n', | 1007 '../base/base.gyp:base_i18n', |
| 1006 '../base/base.gyp:test_support_base', | 1008 '../base/base.gyp:test_support_base', |
| 1007 '../gpu/gpu.gyp:command_buffer_common', | 1009 '../gpu/gpu.gyp:command_buffer_common', |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1275 'msvs_disabled_warnings': [ 4267, ], | 1277 'msvs_disabled_warnings': [ 4267, ], |
| 1276 }], | 1278 }], |
| 1277 ['OS=="mac"', { | 1279 ['OS=="mac"', { |
| 1278 'sources': [ | 1280 'sources': [ |
| 1279 'video/capture/mac/video_capture_device_factory_mac_unittest.mm', | 1281 'video/capture/mac/video_capture_device_factory_mac_unittest.mm', |
| 1280 ] | 1282 ] |
| 1281 }], | 1283 }], |
| 1282 ], | 1284 ], |
| 1283 }, | 1285 }, |
| 1284 { | 1286 { |
| 1287 # GN version: //media:media_perftests |
| 1285 'target_name': 'media_perftests', | 1288 'target_name': 'media_perftests', |
| 1286 'type': '<(gtest_target_type)', | 1289 'type': '<(gtest_target_type)', |
| 1287 'dependencies': [ | 1290 'dependencies': [ |
| 1288 '../base/base.gyp:test_support_base', | 1291 '../base/base.gyp:test_support_base', |
| 1289 '../testing/gmock.gyp:gmock', | 1292 '../testing/gmock.gyp:gmock', |
| 1290 '../testing/gtest.gyp:gtest', | 1293 '../testing/gtest.gyp:gtest', |
| 1291 '../testing/perf/perf_test.gyp:perf_test', | 1294 '../testing/perf/perf_test.gyp:perf_test', |
| 1292 '../ui/gfx/gfx.gyp:gfx', | 1295 '../ui/gfx/gfx.gyp:gfx', |
| 1293 '../ui/gfx/gfx.gyp:gfx_test_support', | 1296 '../ui/gfx/gfx.gyp:gfx_test_support', |
| 1294 '../ui/gfx/gfx.gyp:gfx_geometry', | 1297 '../ui/gfx/gfx.gyp:gfx_geometry', |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1326 }, { # media_use_ffmpeg==0 | 1329 }, { # media_use_ffmpeg==0 |
| 1327 'sources!': [ | 1330 'sources!': [ |
| 1328 'base/demuxer_perftest.cc', | 1331 'base/demuxer_perftest.cc', |
| 1329 'filters/pipeline_integration_perftest.cc', | 1332 'filters/pipeline_integration_perftest.cc', |
| 1330 'filters/pipeline_integration_test_base.cc', | 1333 'filters/pipeline_integration_test_base.cc', |
| 1331 ], | 1334 ], |
| 1332 }], | 1335 }], |
| 1333 ], | 1336 ], |
| 1334 }, | 1337 }, |
| 1335 { | 1338 { |
| 1339 # GN version: //media:test_support |
| 1336 'target_name': 'media_test_support', | 1340 'target_name': 'media_test_support', |
| 1337 'type': 'static_library', | 1341 'type': 'static_library', |
| 1338 'dependencies': [ | 1342 'dependencies': [ |
| 1339 'media', | 1343 'media', |
| 1340 'shared_memory_support', | 1344 'shared_memory_support', |
| 1341 '../base/base.gyp:base', | 1345 '../base/base.gyp:base', |
| 1342 '../skia/skia.gyp:skia', | 1346 '../skia/skia.gyp:skia', |
| 1343 '../testing/gmock.gyp:gmock', | 1347 '../testing/gmock.gyp:gmock', |
| 1344 '../testing/gtest.gyp:gtest', | 1348 '../testing/gtest.gyp:gtest', |
| 1345 ], | 1349 ], |
| (...skipping 28 matching lines...) Expand all Loading... |
| 1374 'filters/test_video_frame_scheduler.cc', | 1378 'filters/test_video_frame_scheduler.cc', |
| 1375 'filters/test_video_frame_scheduler.h', | 1379 'filters/test_video_frame_scheduler.h', |
| 1376 'video/mock_video_decode_accelerator.cc', | 1380 'video/mock_video_decode_accelerator.cc', |
| 1377 'video/mock_video_decode_accelerator.h', | 1381 'video/mock_video_decode_accelerator.h', |
| 1378 ], | 1382 ], |
| 1379 }, | 1383 }, |
| 1380 { | 1384 { |
| 1381 # Minimal target for NaCl and other renderer side media clients which | 1385 # Minimal target for NaCl and other renderer side media clients which |
| 1382 # only need to send audio data across the shared memory to the browser | 1386 # only need to send audio data across the shared memory to the browser |
| 1383 # process. | 1387 # process. |
| 1388 # GN version: //media:shared_memory_support |
| 1384 'target_name': 'shared_memory_support', | 1389 'target_name': 'shared_memory_support', |
| 1385 'type': '<(component)', | 1390 'type': '<(component)', |
| 1386 'dependencies': [ | 1391 'dependencies': [ |
| 1387 '../base/base.gyp:base', | 1392 '../base/base.gyp:base', |
| 1388 ], | 1393 ], |
| 1389 'defines': [ | 1394 'defines': [ |
| 1390 'MEDIA_IMPLEMENTATION', | 1395 'MEDIA_IMPLEMENTATION', |
| 1391 ], | 1396 ], |
| 1392 'include_dirs': [ | 1397 'include_dirs': [ |
| 1393 '..', | 1398 '..', |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1697 'package_name': 'org/chromium/media', | 1702 'package_name': 'org/chromium/media', |
| 1698 'template_deps': ['video/capture/android/imageformat_list.h'], | 1703 'template_deps': ['video/capture/android/imageformat_list.h'], |
| 1699 }, | 1704 }, |
| 1700 'includes': [ '../build/android/java_cpp_template.gypi' ], | 1705 'includes': [ '../build/android/java_cpp_template.gypi' ], |
| 1701 }, | 1706 }, |
| 1702 ], | 1707 ], |
| 1703 }], | 1708 }], |
| 1704 ['media_use_ffmpeg==1', { | 1709 ['media_use_ffmpeg==1', { |
| 1705 'targets': [ | 1710 'targets': [ |
| 1706 { | 1711 { |
| 1712 # GN version: //media:ffmpeg_unittests |
| 1707 'target_name': 'ffmpeg_unittests', | 1713 'target_name': 'ffmpeg_unittests', |
| 1708 'type': 'executable', | 1714 'type': 'executable', |
| 1709 'dependencies': [ | 1715 'dependencies': [ |
| 1710 '../base/base.gyp:base', | 1716 '../base/base.gyp:base', |
| 1711 '../base/base.gyp:base_i18n', | 1717 '../base/base.gyp:base_i18n', |
| 1712 '../base/base.gyp:test_support_base', | 1718 '../base/base.gyp:test_support_base', |
| 1713 '../testing/gtest.gyp:gtest', | 1719 '../testing/gtest.gyp:gtest', |
| 1714 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 1720 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 1715 'media', | 1721 'media', |
| 1716 'media_test_support', | 1722 'media_test_support', |
| 1717 ], | 1723 ], |
| 1718 'sources': [ | 1724 'sources': [ |
| 1719 'ffmpeg/ffmpeg_unittest.cc', | 1725 'ffmpeg/ffmpeg_unittest.cc', |
| 1720 ], | 1726 ], |
| 1721 }, | 1727 }, |
| 1722 { | 1728 { |
| 1729 # GN version: //media:ffmpeg_regression_tests |
| 1723 'target_name': 'ffmpeg_regression_tests', | 1730 'target_name': 'ffmpeg_regression_tests', |
| 1724 'type': 'executable', | 1731 'type': 'executable', |
| 1725 'dependencies': [ | 1732 'dependencies': [ |
| 1726 '../base/base.gyp:test_support_base', | 1733 '../base/base.gyp:test_support_base', |
| 1727 '../testing/gmock.gyp:gmock', | 1734 '../testing/gmock.gyp:gmock', |
| 1728 '../testing/gtest.gyp:gtest', | 1735 '../testing/gtest.gyp:gtest', |
| 1729 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 1736 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 1730 '../ui/gfx/gfx.gyp:gfx_geometry', | 1737 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 1731 'media', | 1738 'media', |
| 1732 'media_test_support', | 1739 'media_test_support', |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1745 ], | 1752 ], |
| 1746 }], | 1753 }], |
| 1747 ], | 1754 ], |
| 1748 }], | 1755 }], |
| 1749 ], | 1756 ], |
| 1750 }, | 1757 }, |
| 1751 ], | 1758 ], |
| 1752 }], | 1759 }], |
| 1753 ], | 1760 ], |
| 1754 } | 1761 } |
| OLD | NEW |