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/headless_build.gni") | 6 import("//build/config/headless_build.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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 (!is_chromecast || target_cpu != "arm")) { | 45 (!is_chromecast || target_cpu != "arm")) { |
46 use_alsa = true | 46 use_alsa = true |
47 if (!use_cras) { | 47 if (!use_cras) { |
48 use_pulseaudio = true | 48 use_pulseaudio = true |
49 } | 49 } |
50 } | 50 } |
51 | 51 |
52 # Use low-memory buffers on non-Android builds of Chromecast. | 52 # Use low-memory buffers on non-Android builds of Chromecast. |
53 use_low_memory_buffer = is_chromecast && !is_android | 53 use_low_memory_buffer = is_chromecast && !is_android |
54 | 54 |
| 55 # Enables AC3/EAC3 audio demuxing. This is enabled only on Chromecast, since |
| 56 # it only provides demuxing, and is only useful for AC3/EAC3 audio |
| 57 # pass-through to HDMI sink on Chromecast. |
| 58 enable_ac3_eac3_demuxing = is_chromecast |
| 59 |
55 # Enables the MPEG2-TS stream parser for use with Media Source. Disabled by | 60 # Enables the MPEG2-TS stream parser for use with Media Source. Disabled by |
56 # default (except on Chromecast) since it's not available on the normal Web | 61 # default (except on Chromecast) since it's not available on the normal Web |
57 # Platform and costs money. | 62 # Platform and costs money. |
58 enable_mpeg2ts_stream_parser = is_chromecast | 63 enable_mpeg2ts_stream_parser = is_chromecast |
59 | 64 |
60 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the | 65 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the |
61 # platform. Enable by default for Chromecast. | 66 # platform. Enable by default for Chromecast. |
62 enable_hevc_demuxing = is_chromecast | 67 enable_hevc_demuxing = is_chromecast |
63 | 68 |
64 # Experiment to enable mojo media application: http://crbug.com/431776 | 69 # Experiment to enable mojo media application: http://crbug.com/431776 |
65 # Valid options are: | 70 # Valid options are: |
66 # - "none": Do not use mojo media application. | 71 # - "none": Do not use mojo media application. |
67 # - "browser": Use mojo media application hosted in the browser process. | 72 # - "browser": Use mojo media application hosted in the browser process. |
68 # - "gpu": Use mojo media application hosted in the gpu process. | 73 # - "gpu": Use mojo media application hosted in the gpu process. |
69 # - "utility": Use mojo media application hosted in the utility process. | 74 # - "utility": Use mojo media application hosted in the utility process. |
70 enable_mojo_media = "none" | 75 enable_mojo_media = "none" |
71 | 76 |
72 # TODO(GYP): This should be a platform define. | 77 # TODO(GYP): This should be a platform define. |
73 is_openbsd = false | 78 is_openbsd = false |
74 } | 79 } |
OLD | NEW |