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 19 matching lines...) Expand all Loading... |
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', { | 36 ['chromecast==1', { |
37 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the | 37 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the |
38 # platform. | 38 # platform. |
39 'enable_hevc_demuxing%': 1, | 39 'enable_hevc_demuxing%': 1, |
| 40 # Enable AC3/EAC3 audio demuxing. Actual decoding must be provided by th
e |
| 41 # platform (or HDMI sink in Chromecast for audio pass-through case). |
| 42 'enable_ac3_eac3_demuxing%': 1, |
40 }, { | 43 }, { |
41 'enable_hevc_demuxing%': 0, | 44 'enable_hevc_demuxing%': 0, |
| 45 'enable_ac3_eac3_demuxing%': 0, |
42 }], | 46 }], |
43 ], | 47 ], |
44 }, | 48 }, |
45 'includes': [ | 49 'includes': [ |
46 'media_cdm.gypi', | 50 'media_cdm.gypi', |
47 'media_variables.gypi', | 51 'media_variables.gypi', |
48 ], | 52 ], |
49 'targets': [ | 53 'targets': [ |
50 { | 54 { |
51 # GN version: //media | 55 # GN version: //media |
(...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1097 'defines': [ | 1101 'defines': [ |
1098 'ENABLE_HEVC_DEMUXING' | 1102 'ENABLE_HEVC_DEMUXING' |
1099 ], | 1103 ], |
1100 'sources': [ | 1104 'sources': [ |
1101 'filters/h265_parser.cc', | 1105 'filters/h265_parser.cc', |
1102 'filters/h265_parser.h', | 1106 'filters/h265_parser.h', |
1103 'formats/mp4/hevc.cc', | 1107 'formats/mp4/hevc.cc', |
1104 'formats/mp4/hevc.h', | 1108 'formats/mp4/hevc.h', |
1105 ], | 1109 ], |
1106 }], | 1110 }], |
| 1111 ['proprietary_codecs==1 and enable_ac3_eac3_demuxing==1', { |
| 1112 'defines': [ |
| 1113 'ENABLE_AC3_EAC3_DEMUXING' |
| 1114 ], |
| 1115 }], |
1107 ['proprietary_codecs==1 and enable_hevc_demuxing==1 and media_use_ffmpeg
==1', { | 1116 ['proprietary_codecs==1 and enable_hevc_demuxing==1 and media_use_ffmpeg
==1', { |
1108 'sources': [ | 1117 'sources': [ |
1109 'filters/ffmpeg_h265_to_annex_b_bitstream_converter.cc', | 1118 'filters/ffmpeg_h265_to_annex_b_bitstream_converter.cc', |
1110 'filters/ffmpeg_h265_to_annex_b_bitstream_converter.h', | 1119 'filters/ffmpeg_h265_to_annex_b_bitstream_converter.h', |
1111 ], | 1120 ], |
1112 }], | 1121 }], |
1113 ['target_arch=="ia32" or target_arch=="x64"', { | 1122 ['target_arch=="ia32" or target_arch=="x64"', { |
1114 'dependencies': [ | 1123 'dependencies': [ |
1115 'media_asm', | 1124 'media_asm', |
1116 ], | 1125 ], |
(...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2113 'dependencies': [ | 2122 'dependencies': [ |
2114 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2123 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2115 ], | 2124 ], |
2116 }], | 2125 }], |
2117 ], | 2126 ], |
2118 }, | 2127 }, |
2119 ], | 2128 ], |
2120 }], | 2129 }], |
2121 ], | 2130 ], |
2122 } | 2131 } |
OLD | NEW |