OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 | 7 |
8 declare_args() { | 8 declare_args() { |
9 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of | 9 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of |
10 # using dlopen. This helps with automated detection of ABI mismatches and | 10 # using dlopen. This helps with automated detection of ABI mismatches and |
(...skipping 24 matching lines...) Expand all Loading... | |
35 # Enables AC3/EAC3 audio demuxing. This is enabled only on Chromecast, since | 35 # Enables AC3/EAC3 audio demuxing. This is enabled only on Chromecast, since |
36 # it only provides demuxing, and is only useful for AC3/EAC3 audio | 36 # it only provides demuxing, and is only useful for AC3/EAC3 audio |
37 # pass-through to HDMI sink on Chromecast. | 37 # pass-through to HDMI sink on Chromecast. |
38 enable_ac3_eac3_audio_demuxing = proprietary_codecs && is_chromecast | 38 enable_ac3_eac3_audio_demuxing = proprietary_codecs && is_chromecast |
39 | 39 |
40 enable_mse_mpeg2ts_stream_parser = proprietary_codecs && is_chromecast | 40 enable_mse_mpeg2ts_stream_parser = proprietary_codecs && is_chromecast |
41 | 41 |
42 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the | 42 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the |
43 # platform. Enable by default for Chromecast. | 43 # platform. Enable by default for Chromecast. |
44 enable_hevc_demuxing = proprietary_codecs && is_chromecast | 44 enable_hevc_demuxing = proprietary_codecs && is_chromecast |
45 | |
46 # TODO(GYP): This should be a platform define. | |
47 is_openbsd = false | |
brettw
2016/05/10 19:51:33
This is unused.
| |
48 } | 45 } |
49 | 46 |
50 # Use a second declare_args() to pick up possible overrides of |use_cras|. | 47 # Use a second declare_args() to pick up possible overrides of |use_cras|. |
51 declare_args() { | 48 declare_args() { |
52 # Enables runtime selection of PulseAudio library. | 49 # Enables runtime selection of PulseAudio library. |
53 use_pulseaudio = false | 50 use_pulseaudio = false |
54 | 51 |
55 # Enables runtime selection of ALSA library for audio. | 52 # Enables runtime selection of ALSA library for audio. |
56 use_alsa = false | 53 use_alsa = false |
57 | 54 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
115 "cdm", | 112 "cdm", |
116 "renderer", | 113 "renderer", |
117 ] | 114 ] |
118 mojo_media_host = "browser" | 115 mojo_media_host = "browser" |
119 } else { | 116 } else { |
120 mojo_media_services = [ "cdm" ] | 117 mojo_media_services = [ "cdm" ] |
121 mojo_media_host = "utility" | 118 mojo_media_host = "utility" |
122 } | 119 } |
123 } | 120 } |
124 } | 121 } |
OLD | NEW |