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', { |
| 37 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the |
| 38 # platform. |
| 39 'enable_hevc_demuxing%': 1, |
| 40 }, { |
| 41 'enable_hevc_demuxing%': 0, |
| 42 }], |
36 ], | 43 ], |
37 }, | 44 }, |
38 'includes': [ | 45 'includes': [ |
39 'media_cdm.gypi', | 46 'media_cdm.gypi', |
40 'media_variables.gypi', | 47 'media_variables.gypi', |
41 ], | 48 ], |
42 'targets': [ | 49 'targets': [ |
43 { | 50 { |
44 # GN version: //media | 51 # GN version: //media |
45 'target_name': 'media', | 52 'target_name': 'media', |
(...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1089 'formats/mpeg/adts_constants.cc', | 1096 'formats/mpeg/adts_constants.cc', |
1090 'formats/mpeg/adts_constants.h', | 1097 'formats/mpeg/adts_constants.h', |
1091 'formats/mpeg/adts_stream_parser.cc', | 1098 'formats/mpeg/adts_stream_parser.cc', |
1092 'formats/mpeg/adts_stream_parser.h', | 1099 'formats/mpeg/adts_stream_parser.h', |
1093 'formats/mpeg/mpeg1_audio_stream_parser.cc', | 1100 'formats/mpeg/mpeg1_audio_stream_parser.cc', |
1094 'formats/mpeg/mpeg1_audio_stream_parser.h', | 1101 'formats/mpeg/mpeg1_audio_stream_parser.h', |
1095 'formats/mpeg/mpeg_audio_stream_parser_base.cc', | 1102 'formats/mpeg/mpeg_audio_stream_parser_base.cc', |
1096 'formats/mpeg/mpeg_audio_stream_parser_base.h', | 1103 'formats/mpeg/mpeg_audio_stream_parser_base.h', |
1097 ], | 1104 ], |
1098 }], | 1105 }], |
| 1106 ['proprietary_codecs==1 and enable_hevc_demuxing==1', { |
| 1107 'defines': [ |
| 1108 'ENABLE_HEVC_DEMUXING' |
| 1109 ], |
| 1110 'sources': [ |
| 1111 'filters/h265_parser.cc', |
| 1112 'filters/h265_parser.h', |
| 1113 'formats/mp4/hevc.cc', |
| 1114 'formats/mp4/hevc.h', |
| 1115 ], |
| 1116 }], |
| 1117 ['proprietary_codecs==1 and enable_hevc_demuxing==1 and media_use_ffmpeg
==1', { |
| 1118 'sources': [ |
| 1119 'filters/ffmpeg_h265_to_annex_b_bitstream_converter.cc', |
| 1120 'filters/ffmpeg_h265_to_annex_b_bitstream_converter.h', |
| 1121 ], |
| 1122 }], |
1099 ['target_arch=="ia32" or target_arch=="x64"', { | 1123 ['target_arch=="ia32" or target_arch=="x64"', { |
1100 'dependencies': [ | 1124 'dependencies': [ |
1101 'media_asm', | 1125 'media_asm', |
1102 ], | 1126 ], |
1103 'sources': [ | 1127 'sources': [ |
1104 'base/simd/convert_rgb_to_yuv_sse2.cc', | 1128 'base/simd/convert_rgb_to_yuv_sse2.cc', |
1105 'base/simd/convert_rgb_to_yuv_ssse3.cc', | 1129 'base/simd/convert_rgb_to_yuv_ssse3.cc', |
1106 'base/simd/convert_yuv_to_rgb_x86.cc', | 1130 'base/simd/convert_yuv_to_rgb_x86.cc', |
1107 'base/simd/filter_yuv_sse2.cc', | 1131 'base/simd/filter_yuv_sse2.cc', |
1108 ], | 1132 ], |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1297 'include_dirs': [ | 1321 'include_dirs': [ |
1298 # Needed by media_drm_bridge.cc. | 1322 # Needed by media_drm_bridge.cc. |
1299 '<(SHARED_INTERMEDIATE_DIR)', | 1323 '<(SHARED_INTERMEDIATE_DIR)', |
1300 ], | 1324 ], |
1301 'conditions': [ | 1325 'conditions': [ |
1302 ['arm_neon==1', { | 1326 ['arm_neon==1', { |
1303 'defines': [ | 1327 'defines': [ |
1304 'USE_NEON' | 1328 'USE_NEON' |
1305 ], | 1329 ], |
1306 }], | 1330 }], |
| 1331 ['proprietary_codecs==1 and enable_hevc_demuxing==1', { |
| 1332 'defines': [ |
| 1333 'ENABLE_HEVC_DEMUXING' |
| 1334 ], |
| 1335 'sources': [ |
| 1336 'filters/h265_parser_unittest.cc', |
| 1337 ], |
| 1338 }], |
1307 ['media_use_ffmpeg==1', { | 1339 ['media_use_ffmpeg==1', { |
1308 'dependencies': [ | 1340 'dependencies': [ |
1309 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 1341 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
1310 ], | 1342 ], |
1311 }, { # media_use_ffmpeg==0 | 1343 }, { # media_use_ffmpeg==0 |
1312 'sources!': [ | 1344 'sources!': [ |
1313 'ffmpeg/ffmpeg_common_unittest.cc', | 1345 'ffmpeg/ffmpeg_common_unittest.cc', |
1314 'filters/audio_decoder_unittest.cc', | 1346 'filters/audio_decoder_unittest.cc', |
1315 'filters/ffmpeg_aac_bitstream_converter_unittest.cc', | 1347 'filters/ffmpeg_aac_bitstream_converter_unittest.cc', |
1316 'filters/ffmpeg_demuxer_unittest.cc', | 1348 'filters/ffmpeg_demuxer_unittest.cc', |
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2056 'dependencies': [ | 2088 'dependencies': [ |
2057 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2089 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2058 ], | 2090 ], |
2059 }], | 2091 }], |
2060 ], | 2092 ], |
2061 }, | 2093 }, |
2062 ], | 2094 ], |
2063 }], | 2095 }], |
2064 ], | 2096 ], |
2065 } | 2097 } |
OLD | NEW |