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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 'enable_hevc_demuxing%': 1, | 42 'enable_hevc_demuxing%': 1, |
43 'enable_mse_mpeg2ts_stream_parser%': 1, | 43 'enable_mse_mpeg2ts_stream_parser%': 1, |
44 }, { | 44 }, { |
45 'enable_ac3_eac3_audio_demuxing%': 0, | 45 'enable_ac3_eac3_audio_demuxing%': 0, |
46 'enable_hevc_demuxing%': 0, | 46 'enable_hevc_demuxing%': 0, |
47 'enable_mse_mpeg2ts_stream_parser%': 0, | 47 'enable_mse_mpeg2ts_stream_parser%': 0, |
48 }], | 48 }], |
49 ], | 49 ], |
50 }, | 50 }, |
51 'includes': [ | 51 'includes': [ |
| 52 'capture/capture.gypi', |
52 'media_cdm.gypi', | 53 'media_cdm.gypi', |
53 'media_variables.gypi', | 54 'media_variables.gypi', |
54 ], | 55 ], |
55 'targets': [ | 56 'targets': [ |
56 { | 57 { |
57 # GN version: //media:media_features | 58 # GN version: //media:media_features |
58 'target_name': 'media_features', | 59 'target_name': 'media_features', |
59 'includes': [ '../build/buildflag_header.gypi' ], | 60 'includes': [ '../build/buildflag_header.gypi' ], |
60 'hard_dependency': 1, | 61 'hard_dependency': 1, |
61 'variables': { | 62 'variables': { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 '../third_party/libwebm/libwebm.gyp:libwebm', | 95 '../third_party/libwebm/libwebm.gyp:libwebm', |
95 '../third_party/opus/opus.gyp:opus', | 96 '../third_party/opus/opus.gyp:opus', |
96 'media_features', | 97 'media_features', |
97 ], | 98 ], |
98 'defines': [ | 99 'defines': [ |
99 'MEDIA_IMPLEMENTATION', | 100 'MEDIA_IMPLEMENTATION', |
100 ], | 101 ], |
101 'include_dirs': [ | 102 'include_dirs': [ |
102 '..', | 103 '..', |
103 ], | 104 ], |
| 105 'includes': [ |
| 106 'capture/capture.gypi', |
| 107 ], |
104 'sources': [ | 108 'sources': [ |
| 109 '<@(capture_sources)', |
105 'audio/agc_audio_stream.h', | 110 'audio/agc_audio_stream.h', |
106 'audio/alsa/alsa_input.cc', | 111 'audio/alsa/alsa_input.cc', |
107 'audio/alsa/alsa_input.h', | 112 'audio/alsa/alsa_input.h', |
108 'audio/alsa/alsa_output.cc', | 113 'audio/alsa/alsa_output.cc', |
109 'audio/alsa/alsa_output.h', | 114 'audio/alsa/alsa_output.h', |
110 'audio/alsa/alsa_util.cc', | 115 'audio/alsa/alsa_util.cc', |
111 'audio/alsa/alsa_util.h', | 116 'audio/alsa/alsa_util.h', |
112 'audio/alsa/alsa_wrapper.cc', | 117 'audio/alsa/alsa_wrapper.cc', |
113 'audio/alsa/alsa_wrapper.h', | 118 'audio/alsa/alsa_wrapper.h', |
114 'audio/alsa/audio_manager_alsa.cc', | 119 'audio/alsa/audio_manager_alsa.cc', |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 'base/video_frame_pool.h', | 468 'base/video_frame_pool.h', |
464 'base/video_renderer.cc', | 469 'base/video_renderer.cc', |
465 'base/video_renderer.h', | 470 'base/video_renderer.h', |
466 'base/video_rotation.h', | 471 'base/video_rotation.h', |
467 'base/video_types.cc', | 472 'base/video_types.cc', |
468 'base/video_types.h', | 473 'base/video_types.h', |
469 'base/video_util.cc', | 474 'base/video_util.cc', |
470 'base/video_util.h', | 475 'base/video_util.h', |
471 'base/wall_clock_time_source.cc', | 476 'base/wall_clock_time_source.cc', |
472 'base/wall_clock_time_source.h', | 477 'base/wall_clock_time_source.h', |
| 478 'base/win/mf_initializer.cc', |
| 479 'base/win/mf_initializer.h', |
473 'base/yuv_convert.cc', | 480 'base/yuv_convert.cc', |
474 'base/yuv_convert.h', | 481 'base/yuv_convert.h', |
475 'cdm/aes_decryptor.cc', | 482 'cdm/aes_decryptor.cc', |
476 'cdm/aes_decryptor.h', | 483 'cdm/aes_decryptor.h', |
477 'cdm/cdm_adapter.cc', | 484 'cdm/cdm_adapter.cc', |
478 'cdm/cdm_adapter.h', | 485 'cdm/cdm_adapter.h', |
479 'cdm/cdm_allocator.cc', | 486 'cdm/cdm_allocator.cc', |
480 'cdm/cdm_allocator.h', | 487 'cdm/cdm_allocator.h', |
481 'cdm/cdm_file_io.h', | 488 'cdm/cdm_file_io.h', |
482 'cdm/cdm_file_io.h', | 489 'cdm/cdm_file_io.h', |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 ], | 706 ], |
700 }, | 707 }, |
701 # Exclude the sources that depend on libvpx. | 708 # Exclude the sources that depend on libvpx. |
702 'sources!': [ | 709 'sources!': [ |
703 'filters/vpx_video_decoder.cc', | 710 'filters/vpx_video_decoder.cc', |
704 'filters/vpx_video_decoder.h', | 711 'filters/vpx_video_decoder.h', |
705 ], | 712 ], |
706 }], | 713 }], |
707 ['OS=="android"', { | 714 ['OS=="android"', { |
708 'dependencies': [ | 715 'dependencies': [ |
| 716 'capture_java', |
709 'media_android_jni_headers', | 717 'media_android_jni_headers', |
710 'media_java', | 718 'media_java', |
711 'player_android', | 719 'player_android', |
| 720 'video_capture_android_jni_headers', |
712 ], | 721 ], |
713 'sources!': [ | 722 'sources!': [ |
714 'base/audio_video_metadata_extractor.cc', | 723 'base/audio_video_metadata_extractor.cc', |
715 'base/audio_video_metadata_extractor.h', | 724 'base/audio_video_metadata_extractor.h', |
716 'base/media_file_checker.cc', | 725 'base/media_file_checker.cc', |
717 'base/media_file_checker.h', | 726 'base/media_file_checker.h', |
718 'filters/decrypting_audio_decoder.cc', | 727 'filters/decrypting_audio_decoder.cc', |
719 'filters/decrypting_audio_decoder.h', | 728 'filters/decrypting_audio_decoder.h', |
720 'filters/decrypting_video_decoder.cc', | 729 'filters/decrypting_video_decoder.cc', |
721 'filters/decrypting_video_decoder.h', | 730 'filters/decrypting_video_decoder.h', |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 }, { # else: use_cras==0 | 813 }, { # else: use_cras==0 |
805 'sources!': [ | 814 'sources!': [ |
806 'audio/cras/audio_manager_cras.cc', | 815 'audio/cras/audio_manager_cras.cc', |
807 'audio/cras/audio_manager_cras.h', | 816 'audio/cras/audio_manager_cras.h', |
808 'audio/cras/cras_input.cc', | 817 'audio/cras/cras_input.cc', |
809 'audio/cras/cras_input.h', | 818 'audio/cras/cras_input.h', |
810 'audio/cras/cras_unified.cc', | 819 'audio/cras/cras_unified.cc', |
811 'audio/cras/cras_unified.h', | 820 'audio/cras/cras_unified.h', |
812 ], | 821 ], |
813 }], | 822 }], |
| 823 |
| 824 ['use_udev==1', { |
| 825 'dependencies': [ |
| 826 '<(DEPTH)/device/udev_linux/udev.gyp:udev_linux', |
| 827 ], |
| 828 }], |
814 ], | 829 ], |
815 }], | 830 }], |
816 ['OS!="linux"', { | 831 ['OS!="linux"', { |
817 'sources!': [ | 832 'sources!': [ |
818 'audio/cras/audio_manager_cras.cc', | 833 'audio/cras/audio_manager_cras.cc', |
819 'audio/cras/audio_manager_cras.h', | 834 'audio/cras/audio_manager_cras.h', |
820 'audio/cras/cras_input.cc', | 835 'audio/cras/cras_input.cc', |
821 'audio/cras/cras_input.h', | 836 'audio/cras/cras_input.h', |
822 'audio/cras/cras_unified.cc', | 837 'audio/cras/cras_unified.cc', |
823 'audio/cras/cras_unified.h', | 838 'audio/cras/cras_unified.h', |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 'audio/pulse/audio_manager_pulse.h', | 916 'audio/pulse/audio_manager_pulse.h', |
902 'audio/pulse/pulse_input.cc', | 917 'audio/pulse/pulse_input.cc', |
903 'audio/pulse/pulse_input.h', | 918 'audio/pulse/pulse_input.h', |
904 'audio/pulse/pulse_output.cc', | 919 'audio/pulse/pulse_output.cc', |
905 'audio/pulse/pulse_output.h', | 920 'audio/pulse/pulse_output.h', |
906 'audio/pulse/pulse_util.cc', | 921 'audio/pulse/pulse_util.cc', |
907 'audio/pulse/pulse_util.h', | 922 'audio/pulse/pulse_util.h', |
908 ], | 923 ], |
909 }], | 924 }], |
910 ['OS=="mac"', { | 925 ['OS=="mac"', { |
| 926 'dependencies': [ |
| 927 '<(DEPTH)/third_party/decklink/decklink.gyp:decklink', |
| 928 ], |
| 929 |
911 'link_settings': { | 930 'link_settings': { |
912 'libraries': [ | 931 'libraries': [ |
913 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', | 932 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', |
914 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', | 933 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', |
915 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', | 934 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', |
916 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', | 935 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', |
917 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework', | 936 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework', |
918 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', | 937 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
919 ], | 938 ], |
920 }, | 939 }, |
921 }], | 940 }], |
922 ['OS=="win"', { | 941 ['OS=="win"', { |
| 942 'link_settings': { |
| 943 'libraries': [ |
| 944 '-ldxguid.lib', |
| 945 '-lmf.lib', |
| 946 '-lmfplat.lib', |
| 947 '-lmfreadwrite.lib', |
| 948 '-lmfuuid.lib', |
| 949 '-lsetupapi.lib', |
| 950 '-lwinmm.lib', |
| 951 ], |
| 952 }, |
| 953 # Specify delayload for media.dll. |
| 954 'msvs_settings': { |
| 955 'VCLinkerTool': { |
| 956 'DelayLoadDLLs': [ |
| 957 'mf.dll', |
| 958 'mfplat.dll', |
| 959 'mfreadwrite.dll', |
| 960 ], |
| 961 }, |
| 962 }, |
| 963 # Specify delayload for components that link with media.lib. |
| 964 'all_dependent_settings': { |
| 965 'msvs_settings': { |
| 966 'VCLinkerTool': { |
| 967 'DelayLoadDLLs': [ |
| 968 'mf.dll', |
| 969 'mfplat.dll', |
| 970 'mfreadwrite.dll', |
| 971 ], |
| 972 }, |
| 973 }, |
| 974 }, |
923 # TODO(wolenetz): Fix size_t to int truncations in win64. See | 975 # TODO(wolenetz): Fix size_t to int truncations in win64. See |
924 # http://crbug.com/171009 | 976 # http://crbug.com/171009 |
925 'conditions': [ | 977 'conditions': [ |
926 ['target_arch=="x64"', { | 978 ['target_arch=="x64"', { |
927 'msvs_disabled_warnings': [ 4267, ], | 979 'msvs_disabled_warnings': [ 4267, ], |
928 }], | 980 }], |
929 ], | 981 ], |
930 }], | 982 }], |
931 ['proprietary_codecs==1', { | 983 ['proprietary_codecs==1', { |
932 'sources': [ | 984 'sources': [ |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1068 'dependencies': [ | 1120 'dependencies': [ |
1069 '../base/base.gyp:base', | 1121 '../base/base.gyp:base', |
1070 ] | 1122 ] |
1071 }, | 1123 }, |
1072 { | 1124 { |
1073 # GN version: //media:media_unittests | 1125 # GN version: //media:media_unittests |
1074 'target_name': 'media_unittests', | 1126 'target_name': 'media_unittests', |
1075 'type': '<(gtest_target_type)', | 1127 'type': '<(gtest_target_type)', |
1076 'dependencies': [ | 1128 'dependencies': [ |
1077 'audio_test_config', | 1129 'audio_test_config', |
1078 # TODO(mcasas): Remove this entry after https://crbug.com/618718. | |
1079 'capture/capture.gyp:unittests', | |
1080 'cdm_paths', | 1130 'cdm_paths', |
1081 'media', | 1131 'media', |
1082 'media_features', | 1132 'media_features', |
1083 'media_test_support', | 1133 'media_test_support', |
1084 'shared_memory_support', | 1134 'shared_memory_support', |
1085 '../base/base.gyp:base', | 1135 '../base/base.gyp:base', |
1086 '../base/base.gyp:base_i18n', | 1136 '../base/base.gyp:base_i18n', |
1087 '../base/base.gyp:test_support_base', | 1137 '../base/base.gyp:test_support_base', |
1088 '../gpu/gpu.gyp:command_buffer_common', | 1138 '../gpu/gpu.gyp:command_buffer_common', |
1089 '../gpu/gpu.gyp:gpu_unittest_utils', | 1139 '../gpu/gpu.gyp:gpu_unittest_utils', |
1090 '../skia/skia.gyp:skia', | 1140 '../skia/skia.gyp:skia', |
1091 '../testing/gmock.gyp:gmock', | 1141 '../testing/gmock.gyp:gmock', |
1092 '../testing/gtest.gyp:gtest', | 1142 '../testing/gtest.gyp:gtest', |
1093 '../third_party/libwebm/libwebm.gyp:libwebm', | 1143 '../third_party/libwebm/libwebm.gyp:libwebm', |
1094 '../third_party/libyuv/libyuv.gyp:libyuv', | 1144 '../third_party/libyuv/libyuv.gyp:libyuv', |
1095 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', | 1145 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', |
1096 '../ui/gfx/gfx.gyp:gfx', | 1146 '../ui/gfx/gfx.gyp:gfx', |
1097 '../ui/gfx/gfx.gyp:gfx_geometry', | 1147 '../ui/gfx/gfx.gyp:gfx_geometry', |
1098 '../ui/gfx/gfx.gyp:gfx_test_support', | 1148 '../ui/gfx/gfx.gyp:gfx_test_support', |
1099 '../url/url.gyp:url_lib', | 1149 '../url/url.gyp:url_lib', |
1100 ], | 1150 ], |
1101 'sources': [ | 1151 'sources': [ |
| 1152 '<@(capture_unittests_sources)', |
1102 'base/android/access_unit_queue_unittest.cc', | 1153 'base/android/access_unit_queue_unittest.cc', |
1103 'base/android/media_codec_decoder_unittest.cc', | 1154 'base/android/media_codec_decoder_unittest.cc', |
1104 'base/android/media_drm_bridge_unittest.cc', | 1155 'base/android/media_drm_bridge_unittest.cc', |
1105 'base/android/media_player_bridge_unittest.cc', | 1156 'base/android/media_player_bridge_unittest.cc', |
1106 'base/android/media_source_player_unittest.cc', | 1157 'base/android/media_source_player_unittest.cc', |
1107 'base/android/sdk_media_codec_bridge_unittest.cc', | 1158 'base/android/sdk_media_codec_bridge_unittest.cc', |
1108 'base/android/test_data_factory.cc', | 1159 'base/android/test_data_factory.cc', |
1109 'base/android/test_data_factory.h', | 1160 'base/android/test_data_factory.h', |
1110 'base/android/test_statistics.h', | 1161 'base/android/test_statistics.h', |
1111 'base/audio_block_fifo_unittest.cc', | 1162 'base/audio_block_fifo_unittest.cc', |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1487 ], | 1538 ], |
1488 'defines': [ | 1539 'defines': [ |
1489 'USE_CRAS', | 1540 'USE_CRAS', |
1490 ], | 1541 ], |
1491 }], | 1542 }], |
1492 ], | 1543 ], |
1493 }, | 1544 }, |
1494 }, | 1545 }, |
1495 { | 1546 { |
1496 # GN version: //media:audio_unittests | 1547 # GN version: //media:audio_unittests |
1497 # For running the subset of tests that might require audio | 1548 # For running the subset of media_unittests that might require audio |
1498 # hardware separately on GPU bots. media_unittests includes these too. | 1549 # hardware separately on GPU bots. media_unittests includes these too. |
1499 'target_name': 'audio_unittests', | 1550 'target_name': 'audio_unittests', |
1500 'type': '<(gtest_target_type)', | 1551 'type': '<(gtest_target_type)', |
1501 'dependencies': [ | 1552 'dependencies': [ |
1502 'audio_test_config', | 1553 'audio_test_config', |
1503 # TODO(mcasas): Remove this entry after https://crbug.com/618718. | |
1504 'capture/capture.gyp:unittests', | |
1505 'media_test_support', | 1554 'media_test_support', |
1506 '../base/base.gyp:test_support_base', | 1555 '../base/base.gyp:test_support_base', |
1507 '../testing/gmock.gyp:gmock', | 1556 '../testing/gmock.gyp:gmock', |
1508 '../testing/gtest.gyp:gtest', | 1557 '../testing/gtest.gyp:gtest', |
1509 '../ui/gfx/gfx.gyp:gfx_test_support', | 1558 '../ui/gfx/gfx.gyp:gfx_test_support', |
1510 '../url/url.gyp:url_lib', | 1559 '../url/url.gyp:url_lib', |
1511 ], | 1560 ], |
1512 'sources': [ | 1561 'sources': [ |
1513 'base/run_all_unittests.cc', | 1562 'base/run_all_unittests.cc', |
1514 ], | 1563 ], |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1692 'base/simd/scale_yuv_to_rgb_mmx.inc', | 1741 'base/simd/scale_yuv_to_rgb_mmx.inc', |
1693 ], | 1742 ], |
1694 }, | 1743 }, |
1695 'msvs_2010_disable_uldi_when_referenced': 1, | 1744 'msvs_2010_disable_uldi_when_referenced': 1, |
1696 'includes': [ | 1745 'includes': [ |
1697 '../third_party/yasm/yasm_compile.gypi', | 1746 '../third_party/yasm/yasm_compile.gypi', |
1698 ], | 1747 ], |
1699 }, | 1748 }, |
1700 ], # targets | 1749 ], # targets |
1701 }], | 1750 }], |
1702 ['OS=="win"', { | |
1703 'targets': [ | |
1704 { | |
1705 # GN version: //media/base/win | |
1706 'target_name': 'mf_initializer', | |
1707 'type': '<(component)', | |
1708 'include_dirs': [ '..', ], | |
1709 'defines': [ 'MF_INITIALIZER_IMPLEMENTATION', ], | |
1710 'sources': [ | |
1711 'base/win/mf_initializer_export.h', | |
1712 'base/win/mf_initializer.cc', | |
1713 'base/win/mf_initializer.h', | |
1714 ], | |
1715 'dependencies': [ | |
1716 '../base/base.gyp:base', | |
1717 ], | |
1718 'link_settings': { | |
1719 'libraries': [ | |
1720 '-ldxguid.lib', | |
1721 '-lmf.lib', | |
1722 '-lmfplat.lib', | |
1723 '-lmfreadwrite.lib', | |
1724 '-lmfuuid.lib', | |
1725 '-lsetupapi.lib', | |
1726 '-lwinmm.lib', | |
1727 ], | |
1728 }, | |
1729 'msvs_settings': { | |
1730 'VCLinkerTool': { | |
1731 'DelayLoadDLLs': [ | |
1732 'mf.dll', | |
1733 'mfplat.dll', | |
1734 'mfreadwrite.dll', | |
1735 ], | |
1736 }, | |
1737 }, | |
1738 'all_dependent_settings': { | |
1739 'msvs_settings': { | |
1740 'VCLinkerTool': { | |
1741 'DelayLoadDLLs': [ | |
1742 'mf.dll', | |
1743 'mfplat.dll', | |
1744 'mfreadwrite.dll', | |
1745 ], | |
1746 }, | |
1747 }, | |
1748 }, | |
1749 }, | |
1750 ], | |
1751 }], | |
1752 ['OS=="android"', { | 1751 ['OS=="android"', { |
1753 'targets': [ | 1752 'targets': [ |
1754 { | 1753 { |
1755 # TODO(GN) | 1754 # TODO(GN) |
1756 'target_name': 'media_unittests_apk', | 1755 'target_name': 'media_unittests_apk', |
1757 'type': 'none', | 1756 'type': 'none', |
1758 'dependencies': [ | 1757 'dependencies': [ |
| 1758 'capture_java', |
1759 'media_java', | 1759 'media_java', |
1760 'media_unittests', | 1760 'media_unittests', |
1761 ], | 1761 ], |
1762 'variables': { | 1762 'variables': { |
1763 'test_suite_name': 'media_unittests', | 1763 'test_suite_name': 'media_unittests', |
1764 'isolate_file': 'media_unittests.isolate', | 1764 'isolate_file': 'media_unittests.isolate', |
1765 }, | 1765 }, |
1766 'includes': ['../build/apk_test.gypi'], | 1766 'includes': ['../build/apk_test.gypi'], |
1767 }, | 1767 }, |
1768 { | 1768 { |
1769 # TODO(GN) | 1769 # TODO(GN) |
1770 'target_name': 'media_perftests_apk', | 1770 'target_name': 'media_perftests_apk', |
1771 'type': 'none', | 1771 'type': 'none', |
1772 'dependencies': [ | 1772 'dependencies': [ |
| 1773 'capture_java', |
1773 'media_java', | 1774 'media_java', |
1774 'media_perftests', | 1775 'media_perftests', |
1775 ], | 1776 ], |
1776 'variables': { | 1777 'variables': { |
1777 'test_suite_name': 'media_perftests', | 1778 'test_suite_name': 'media_perftests', |
1778 'isolate_file': 'media_perftests.isolate', | 1779 'isolate_file': 'media_perftests.isolate', |
1779 }, | 1780 }, |
1780 'includes': ['../build/apk_test.gypi'], | 1781 'includes': ['../build/apk_test.gypi'], |
1781 }, | 1782 }, |
1782 { | 1783 { |
1783 # GN: //media/base/android:media_jni_headers | 1784 # GN: //media/base/android:media_jni_headers |
1784 'target_name': 'media_android_jni_headers', | 1785 'target_name': 'media_android_jni_headers', |
1785 'type': 'none', | 1786 'type': 'none', |
1786 'sources': [ | 1787 'sources': [ |
1787 'base/android/java/src/org/chromium/media/AudioManagerAndroid.java', | 1788 'base/android/java/src/org/chromium/media/AudioManagerAndroid.java', |
1788 'base/android/java/src/org/chromium/media/AudioRecordInput.java', | 1789 'base/android/java/src/org/chromium/media/AudioRecordInput.java', |
1789 'base/android/java/src/org/chromium/media/MediaCodecBridge.java', | 1790 'base/android/java/src/org/chromium/media/MediaCodecBridge.java', |
1790 'base/android/java/src/org/chromium/media/MediaCodecUtil.java', | 1791 'base/android/java/src/org/chromium/media/MediaCodecUtil.java', |
1791 'base/android/java/src/org/chromium/media/MediaDrmBridge.java', | 1792 'base/android/java/src/org/chromium/media/MediaDrmBridge.java', |
1792 'base/android/java/src/org/chromium/media/MediaPlayerBridge.java', | 1793 'base/android/java/src/org/chromium/media/MediaPlayerBridge.java', |
1793 'base/android/java/src/org/chromium/media/MediaPlayerListener.java', | 1794 'base/android/java/src/org/chromium/media/MediaPlayerListener.java', |
1794 ], | 1795 ], |
1795 'variables': { | 1796 'variables': { |
1796 'jni_gen_package': 'media', | 1797 'jni_gen_package': 'media', |
1797 }, | 1798 }, |
1798 'includes': ['../build/jni_generator.gypi'], | 1799 'includes': ['../build/jni_generator.gypi'], |
1799 }, | 1800 }, |
1800 { | 1801 { |
| 1802 # GN: //media/capture/video/android:capture_jni_headers |
| 1803 'target_name': 'video_capture_android_jni_headers', |
| 1804 'type': 'none', |
| 1805 'sources': [ |
| 1806 'capture/video/android/java/src/org/chromium/media/VideoCapture.java
', |
| 1807 'capture/video/android/java/src/org/chromium/media/VideoCaptureFacto
ry.java', |
| 1808 ], |
| 1809 'variables': { |
| 1810 'jni_gen_package': 'media', |
| 1811 }, |
| 1812 'includes': ['../build/jni_generator.gypi'], |
| 1813 }, |
| 1814 { |
1801 # GN: //media/base/android:android | 1815 # GN: //media/base/android:android |
1802 'target_name': 'player_android', | 1816 'target_name': 'player_android', |
1803 'type': 'static_library', | 1817 'type': 'static_library', |
1804 'sources': [ | 1818 'sources': [ |
1805 'base/android/access_unit_queue.cc', | 1819 'base/android/access_unit_queue.cc', |
1806 'base/android/access_unit_queue.h', | 1820 'base/android/access_unit_queue.h', |
1807 'base/android/android_cdm_factory.cc', | 1821 'base/android/android_cdm_factory.cc', |
1808 'base/android/android_cdm_factory.h', | 1822 'base/android/android_cdm_factory.h', |
1809 'base/android/audio_decoder_job.cc', | 1823 'base/android/audio_decoder_job.cc', |
1810 'base/android/audio_decoder_job.h', | 1824 'base/android/audio_decoder_job.h', |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1880 ], | 1894 ], |
1881 'include_dirs': [ | 1895 'include_dirs': [ |
1882 # Needed by media_drm_bridge.cc. | 1896 # Needed by media_drm_bridge.cc. |
1883 '<(SHARED_INTERMEDIATE_DIR)', | 1897 '<(SHARED_INTERMEDIATE_DIR)', |
1884 ], | 1898 ], |
1885 'defines': [ | 1899 'defines': [ |
1886 'MEDIA_IMPLEMENTATION', | 1900 'MEDIA_IMPLEMENTATION', |
1887 ], | 1901 ], |
1888 }, | 1902 }, |
1889 { | 1903 { |
| 1904 # GN: //media/capture/video/android:capture_java |
| 1905 'target_name': 'capture_java', |
| 1906 'type': 'none', |
| 1907 'dependencies': [ |
| 1908 '../base/base.gyp:base', |
| 1909 'media_android_captureapitype', |
| 1910 'media_android_imageformat', |
| 1911 ], |
| 1912 'export_dependent_settings': [ |
| 1913 '../base/base.gyp:base', |
| 1914 ], |
| 1915 'variables': { |
| 1916 'java_in_dir': 'capture/video/android/java', |
| 1917 }, |
| 1918 'includes': ['../build/java.gypi'], |
| 1919 }, |
| 1920 { |
1890 # GN: //media/base/android:media_java | 1921 # GN: //media/base/android:media_java |
1891 'target_name': 'media_java', | 1922 'target_name': 'media_java', |
1892 'type': 'none', | 1923 'type': 'none', |
1893 'dependencies': [ | 1924 'dependencies': [ |
1894 '../base/base.gyp:base', | 1925 '../base/base.gyp:base', |
1895 ], | 1926 ], |
1896 'export_dependent_settings': [ | 1927 'export_dependent_settings': [ |
1897 '../base/base.gyp:base', | 1928 '../base/base.gyp:base', |
1898 ], | 1929 ], |
1899 'variables': { | 1930 'variables': { |
1900 'java_in_dir': 'base/android/java', | 1931 'java_in_dir': 'base/android/java', |
1901 }, | 1932 }, |
1902 'includes': ['../build/java.gypi'], | 1933 'includes': ['../build/java.gypi'], |
1903 }, | 1934 }, |
| 1935 { |
| 1936 # GN: //media/base/android:media_android_captureapitype |
| 1937 'target_name': 'media_android_captureapitype', |
| 1938 'type': 'none', |
| 1939 'variables': { |
| 1940 'source_file': 'capture/video/video_capture_device.h', |
| 1941 }, |
| 1942 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 1943 }, |
| 1944 { |
| 1945 # GN: //media/base/android:media_android_imageformat |
| 1946 'target_name': 'media_android_imageformat', |
| 1947 'type': 'none', |
| 1948 'variables': { |
| 1949 'source_file': 'capture/video/android/video_capture_device_android.h
', |
| 1950 }, |
| 1951 'includes': [ '../build/android/java_cpp_enum.gypi' ], |
| 1952 }, |
1904 ], | 1953 ], |
1905 'conditions': [ | 1954 'conditions': [ |
1906 ['test_isolation_mode != "noop"', | 1955 ['test_isolation_mode != "noop"', |
1907 { | 1956 { |
1908 'targets': [ | 1957 'targets': [ |
1909 { | 1958 { |
1910 'target_name': 'media_unittests_apk_run', | 1959 'target_name': 'media_unittests_apk_run', |
1911 'type': 'none', | 1960 'type': 'none', |
1912 'dependencies': [ | 1961 'dependencies': [ |
1913 'media_unittests_apk', | 1962 'media_unittests_apk', |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2268 'dependencies': [ | 2317 'dependencies': [ |
2269 '../build/linux/system.gyp:libdrm', | 2318 '../build/linux/system.gyp:libdrm', |
2270 ] | 2319 ] |
2271 }], | 2320 }], |
2272 ], | 2321 ], |
2273 } | 2322 } |
2274 ] | 2323 ] |
2275 }], | 2324 }], |
2276 ], | 2325 ], |
2277 } | 2326 } |
OLD | NEW |