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 15 matching lines...) Expand all Loading... | |
| 26 }, { | 26 }, { |
| 27 'use_alsa%': 0, | 27 'use_alsa%': 0, |
| 28 'use_pulseaudio%': 0, | 28 'use_pulseaudio%': 0, |
| 29 }], | 29 }], |
| 30 # low memory buffer is used in non-Android based chromecast build due to h ardware limitation. | 30 # low memory buffer is used in non-Android based chromecast build due to h ardware limitation. |
| 31 ['chromecast==1 and OS!="android"', { | 31 ['chromecast==1 and OS!="android"', { |
| 32 'use_low_memory_buffer%': 1, | 32 'use_low_memory_buffer%': 1, |
| 33 }, { | 33 }, { |
| 34 'use_low_memory_buffer%': 0, | 34 'use_low_memory_buffer%': 0, |
| 35 }], | 35 }], |
| 36 ['chromecast == 1', { | |
|
ddorwin
2016/01/05 18:59:56
Ditto with the .GNI below.
| |
| 37 'enable_mse_mpeg2ts_stream_parser%': 1, | |
| 38 }, { | |
| 39 'enable_mse_mpeg2ts_stream_parser%': 0, | |
| 40 }], | |
| 36 ['chromecast==1', { | 41 ['chromecast==1', { |
| 37 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the | 42 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the |
| 38 # platform. | 43 # platform. |
| 39 'enable_hevc_demuxing%': 1, | 44 'enable_hevc_demuxing%': 1, |
| 40 }, { | 45 }, { |
| 41 'enable_hevc_demuxing%': 0, | 46 'enable_hevc_demuxing%': 0, |
| 42 }], | 47 }], |
| 43 ], | 48 ], |
| 44 }, | 49 }, |
| 45 'includes': [ | 50 'includes': [ |
| 46 'media_cdm.gypi', | 51 'media_cdm.gypi', |
| 47 'media_variables.gypi', | 52 'media_variables.gypi', |
| 48 ], | 53 ], |
| 49 'targets': [ | 54 'targets': [ |
| 50 { | 55 { |
| 56 # GN version: //media:media_features | |
| 57 'target_name': 'media_features', | |
| 58 'includes': [ '../build/buildflag_header.gypi' ], | |
| 59 'variables': { | |
| 60 'buildflag_header_path': 'media/media_features.h', | |
| 61 'buildflag_flags': [ | |
| 62 "ENABLE_MSE_MPEG2TS_STREAM_PARSER=<(enable_mse_mpeg2ts_stream_parser)" , | |
| 63 ], | |
| 64 }, | |
| 65 }, | |
| 66 { | |
| 51 # GN version: //media | 67 # GN version: //media |
| 52 'target_name': 'media', | 68 'target_name': 'media', |
| 53 'type': '<(component)', | 69 'type': '<(component)', |
| 54 'dependencies': [ | 70 'dependencies': [ |
| 71 'media_features', | |
| 55 '../base/base.gyp:base', | 72 '../base/base.gyp:base', |
| 56 '../base/base.gyp:base_i18n', | 73 '../base/base.gyp:base_i18n', |
| 57 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', | 74 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', |
| 58 '../crypto/crypto.gyp:crypto', | 75 '../crypto/crypto.gyp:crypto', |
| 59 '../gpu/gpu.gyp:command_buffer_common', | 76 '../gpu/gpu.gyp:command_buffer_common', |
| 60 '../skia/skia.gyp:skia', | 77 '../skia/skia.gyp:skia', |
| 61 '../third_party/libwebm/libwebm.gyp:libwebm', | 78 '../third_party/libwebm/libwebm.gyp:libwebm', |
| 62 '../third_party/libyuv/libyuv.gyp:libyuv', | 79 '../third_party/libyuv/libyuv.gyp:libyuv', |
| 63 '../third_party/opus/opus.gyp:opus', | 80 '../third_party/opus/opus.gyp:opus', |
| 64 '../ui/events/events.gyp:events_base', | 81 '../ui/events/events.gyp:events_base', |
| (...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1032 ['proprietary_codecs==1', { | 1049 ['proprietary_codecs==1', { |
| 1033 'sources': [ | 1050 'sources': [ |
| 1034 'cdm/cenc_utils.cc', | 1051 'cdm/cenc_utils.cc', |
| 1035 'cdm/cenc_utils.h', | 1052 'cdm/cenc_utils.h', |
| 1036 'filters/ffmpeg_aac_bitstream_converter.cc', | 1053 'filters/ffmpeg_aac_bitstream_converter.cc', |
| 1037 'filters/ffmpeg_aac_bitstream_converter.h', | 1054 'filters/ffmpeg_aac_bitstream_converter.h', |
| 1038 'filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc', | 1055 'filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc', |
| 1039 'filters/ffmpeg_h264_to_annex_b_bitstream_converter.h', | 1056 'filters/ffmpeg_h264_to_annex_b_bitstream_converter.h', |
| 1040 'filters/h264_to_annex_b_bitstream_converter.cc', | 1057 'filters/h264_to_annex_b_bitstream_converter.cc', |
| 1041 'filters/h264_to_annex_b_bitstream_converter.h', | 1058 'filters/h264_to_annex_b_bitstream_converter.h', |
| 1042 'formats/mp2t/es_adapter_video.cc', | |
| 1043 'formats/mp2t/es_adapter_video.h', | |
| 1044 'formats/mp2t/es_parser.cc', | |
| 1045 'formats/mp2t/es_parser.h', | |
| 1046 'formats/mp2t/es_parser_adts.cc', | |
| 1047 'formats/mp2t/es_parser_adts.h', | |
| 1048 'formats/mp2t/es_parser_h264.cc', | |
| 1049 'formats/mp2t/es_parser_h264.h', | |
| 1050 'formats/mp2t/es_parser_mpeg1audio.cc', | |
| 1051 'formats/mp2t/es_parser_mpeg1audio.h', | |
| 1052 'formats/mp2t/mp2t_common.h', | |
| 1053 'formats/mp2t/mp2t_stream_parser.cc', | |
| 1054 'formats/mp2t/mp2t_stream_parser.h', | |
| 1055 'formats/mp2t/timestamp_unroller.cc', | |
| 1056 'formats/mp2t/timestamp_unroller.h', | |
| 1057 'formats/mp2t/ts_packet.cc', | |
| 1058 'formats/mp2t/ts_packet.h', | |
| 1059 'formats/mp2t/ts_section.h', | |
| 1060 'formats/mp2t/ts_section_pat.cc', | |
| 1061 'formats/mp2t/ts_section_pat.h', | |
| 1062 'formats/mp2t/ts_section_pes.cc', | |
| 1063 'formats/mp2t/ts_section_pes.h', | |
| 1064 'formats/mp2t/ts_section_pmt.cc', | |
| 1065 'formats/mp2t/ts_section_pmt.h', | |
| 1066 'formats/mp2t/ts_section_psi.cc', | |
| 1067 'formats/mp2t/ts_section_psi.h', | |
| 1068 'formats/mp4/aac.cc', | 1059 'formats/mp4/aac.cc', |
| 1069 'formats/mp4/aac.h', | 1060 'formats/mp4/aac.h', |
| 1070 'formats/mp4/avc.cc', | 1061 'formats/mp4/avc.cc', |
| 1071 'formats/mp4/avc.h', | 1062 'formats/mp4/avc.h', |
| 1072 'formats/mp4/bitstream_converter.cc', | 1063 'formats/mp4/bitstream_converter.cc', |
| 1073 'formats/mp4/bitstream_converter.h', | 1064 'formats/mp4/bitstream_converter.h', |
| 1074 'formats/mp4/box_definitions.cc', | 1065 'formats/mp4/box_definitions.cc', |
| 1075 'formats/mp4/box_definitions.h', | 1066 'formats/mp4/box_definitions.h', |
| 1076 'formats/mp4/box_reader.cc', | 1067 'formats/mp4/box_reader.cc', |
| 1077 'formats/mp4/box_reader.h', | 1068 'formats/mp4/box_reader.h', |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 1088 'formats/mpeg/adts_constants.cc', | 1079 'formats/mpeg/adts_constants.cc', |
| 1089 'formats/mpeg/adts_constants.h', | 1080 'formats/mpeg/adts_constants.h', |
| 1090 'formats/mpeg/adts_stream_parser.cc', | 1081 'formats/mpeg/adts_stream_parser.cc', |
| 1091 'formats/mpeg/adts_stream_parser.h', | 1082 'formats/mpeg/adts_stream_parser.h', |
| 1092 'formats/mpeg/mpeg1_audio_stream_parser.cc', | 1083 'formats/mpeg/mpeg1_audio_stream_parser.cc', |
| 1093 'formats/mpeg/mpeg1_audio_stream_parser.h', | 1084 'formats/mpeg/mpeg1_audio_stream_parser.h', |
| 1094 'formats/mpeg/mpeg_audio_stream_parser_base.cc', | 1085 'formats/mpeg/mpeg_audio_stream_parser_base.cc', |
| 1095 'formats/mpeg/mpeg_audio_stream_parser_base.h', | 1086 'formats/mpeg/mpeg_audio_stream_parser_base.h', |
| 1096 ], | 1087 ], |
| 1097 }], | 1088 }], |
| 1089 ['proprietary_codecs==1 and enable_mse_mpeg2ts_stream_parser==1', { | |
| 1090 'sources': [ | |
| 1091 'formats/mp2t/es_adapter_video.cc', | |
| 1092 'formats/mp2t/es_adapter_video.h', | |
| 1093 'formats/mp2t/es_parser.cc', | |
| 1094 'formats/mp2t/es_parser.h', | |
| 1095 'formats/mp2t/es_parser_adts.cc', | |
| 1096 'formats/mp2t/es_parser_adts.h', | |
| 1097 'formats/mp2t/es_parser_h264.cc', | |
| 1098 'formats/mp2t/es_parser_h264.h', | |
| 1099 'formats/mp2t/es_parser_mpeg1audio.cc', | |
| 1100 'formats/mp2t/es_parser_mpeg1audio.h', | |
| 1101 'formats/mp2t/mp2t_common.h', | |
| 1102 'formats/mp2t/mp2t_stream_parser.cc', | |
| 1103 'formats/mp2t/mp2t_stream_parser.h', | |
| 1104 'formats/mp2t/timestamp_unroller.cc', | |
| 1105 'formats/mp2t/timestamp_unroller.h', | |
| 1106 'formats/mp2t/ts_packet.cc', | |
| 1107 'formats/mp2t/ts_packet.h', | |
| 1108 'formats/mp2t/ts_section.h', | |
| 1109 'formats/mp2t/ts_section_pat.cc', | |
| 1110 'formats/mp2t/ts_section_pat.h', | |
| 1111 'formats/mp2t/ts_section_pes.cc', | |
| 1112 'formats/mp2t/ts_section_pes.h', | |
| 1113 'formats/mp2t/ts_section_pmt.cc', | |
| 1114 'formats/mp2t/ts_section_pmt.h', | |
| 1115 'formats/mp2t/ts_section_psi.cc', | |
| 1116 'formats/mp2t/ts_section_psi.h', | |
| 1117 ], | |
| 1118 }], | |
| 1098 ['proprietary_codecs==1 and enable_hevc_demuxing==1', { | 1119 ['proprietary_codecs==1 and enable_hevc_demuxing==1', { |
| 1099 'defines': [ | 1120 'defines': [ |
| 1100 'ENABLE_HEVC_DEMUXING' | 1121 'ENABLE_HEVC_DEMUXING' |
| 1101 ], | 1122 ], |
| 1102 'sources': [ | 1123 'sources': [ |
| 1103 'filters/h265_parser.cc', | 1124 'filters/h265_parser.cc', |
| 1104 'filters/h265_parser.h', | 1125 'filters/h265_parser.h', |
| 1105 'formats/mp4/hevc.cc', | 1126 'formats/mp4/hevc.cc', |
| 1106 'formats/mp4/hevc.h', | 1127 'formats/mp4/hevc.h', |
| 1107 ], | 1128 ], |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1406 ], | 1427 ], |
| 1407 }], | 1428 }], |
| 1408 ['proprietary_codecs==1', { | 1429 ['proprietary_codecs==1', { |
| 1409 'sources': [ | 1430 'sources': [ |
| 1410 'cdm/cenc_utils_unittest.cc', | 1431 'cdm/cenc_utils_unittest.cc', |
| 1411 'filters/ffmpeg_aac_bitstream_converter_unittest.cc', | 1432 'filters/ffmpeg_aac_bitstream_converter_unittest.cc', |
| 1412 'filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc', | 1433 'filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc', |
| 1413 'filters/h264_to_annex_b_bitstream_converter_unittest.cc', | 1434 'filters/h264_to_annex_b_bitstream_converter_unittest.cc', |
| 1414 'formats/common/stream_parser_test_base.cc', | 1435 'formats/common/stream_parser_test_base.cc', |
| 1415 'formats/common/stream_parser_test_base.h', | 1436 'formats/common/stream_parser_test_base.h', |
| 1416 'formats/mp2t/es_adapter_video_unittest.cc', | |
| 1417 'formats/mp2t/es_parser_adts_unittest.cc', | |
| 1418 'formats/mp2t/es_parser_h264_unittest.cc', | |
| 1419 'formats/mp2t/es_parser_mpeg1audio_unittest.cc', | |
| 1420 'formats/mp2t/es_parser_test_base.cc', | |
| 1421 'formats/mp2t/es_parser_test_base.h', | |
| 1422 'formats/mp2t/mp2t_stream_parser_unittest.cc', | |
| 1423 'formats/mp2t/timestamp_unroller_unittest.cc', | |
| 1424 'formats/mp4/aac_unittest.cc', | 1437 'formats/mp4/aac_unittest.cc', |
| 1425 'formats/mp4/avc_unittest.cc', | 1438 'formats/mp4/avc_unittest.cc', |
| 1426 'formats/mp4/box_reader_unittest.cc', | 1439 'formats/mp4/box_reader_unittest.cc', |
| 1427 'formats/mp4/es_descriptor_unittest.cc', | 1440 'formats/mp4/es_descriptor_unittest.cc', |
| 1428 'formats/mp4/mp4_stream_parser_unittest.cc', | 1441 'formats/mp4/mp4_stream_parser_unittest.cc', |
| 1429 'formats/mp4/sample_to_group_iterator_unittest.cc', | 1442 'formats/mp4/sample_to_group_iterator_unittest.cc', |
| 1430 'formats/mp4/track_run_iterator_unittest.cc', | 1443 'formats/mp4/track_run_iterator_unittest.cc', |
| 1431 'formats/mpeg/adts_stream_parser_unittest.cc', | 1444 'formats/mpeg/adts_stream_parser_unittest.cc', |
| 1432 'formats/mpeg/mpeg1_audio_stream_parser_unittest.cc', | 1445 'formats/mpeg/mpeg1_audio_stream_parser_unittest.cc', |
| 1433 ], | 1446 ], |
| 1434 }], | 1447 }], |
| 1448 ['proprietary_codecs==1 and enable_mse_mpeg2ts_stream_parser==1', { | |
| 1449 'sources': [ | |
| 1450 'formats/mp2t/es_adapter_video_unittest.cc', | |
| 1451 'formats/mp2t/es_parser_adts_unittest.cc', | |
| 1452 'formats/mp2t/es_parser_h264_unittest.cc', | |
| 1453 'formats/mp2t/es_parser_mpeg1audio_unittest.cc', | |
| 1454 'formats/mp2t/es_parser_test_base.cc', | |
| 1455 'formats/mp2t/es_parser_test_base.h', | |
| 1456 'formats/mp2t/mp2t_stream_parser_unittest.cc', | |
| 1457 'formats/mp2t/timestamp_unroller_unittest.cc', | |
| 1458 ], | |
| 1459 }], | |
| 1435 ['OS=="mac"', { | 1460 ['OS=="mac"', { |
| 1436 'sources': [ | 1461 'sources': [ |
| 1437 'capture/video/mac/video_capture_device_factory_mac_unittest.mm', | 1462 'capture/video/mac/video_capture_device_factory_mac_unittest.mm', |
| 1438 ] | 1463 ] |
| 1439 }], | 1464 }], |
| 1440 ['use_x11==1', { | 1465 ['use_x11==1', { |
| 1441 'dependencies': [ | 1466 'dependencies': [ |
| 1442 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 1467 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 1443 ], | 1468 ], |
| 1444 }], | 1469 }], |
| (...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2142 'dependencies': [ | 2167 'dependencies': [ |
| 2143 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2168 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 2144 ], | 2169 ], |
| 2145 }], | 2170 }], |
| 2146 ], | 2171 ], |
| 2147 }, | 2172 }, |
| 2148 ], | 2173 ], |
| 2149 }], | 2174 }], |
| 2150 ], | 2175 ], |
| 2151 } | 2176 } |
| OLD | NEW |