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 import("//testing/libfuzzer/fuzzer_test.gni") | 7 import("//testing/libfuzzer/fuzzer_test.gni") |
8 | 8 |
9 declare_args() { | 9 declare_args() { |
| 10 # Enables proprietary codecs and demuxers; e.g. H264, AAC, MP3, and MP4. |
| 11 # We always build Google Chrome and Chromecast with proprietary codecs. |
| 12 proprietary_codecs = is_chrome_branded || is_chromecast |
| 13 } |
| 14 |
| 15 # Must be a separate block since some of these depend on the proprietary_codecs |
| 16 # flag. |
| 17 declare_args() { |
10 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of | 18 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of |
11 # using dlopen. This helps with automated detection of ABI mismatches and | 19 # using dlopen. This helps with automated detection of ABI mismatches and |
12 # prevents silent errors. | 20 # prevents silent errors. |
13 link_pulseaudio = false | 21 link_pulseaudio = false |
14 | 22 |
15 # Enable usage of FFmpeg within the media library. Used for most software | 23 # Enable usage of FFmpeg within the media library. Used for most software |
16 # based decoding, demuxing, and sometimes optimized FFTs. If disabled, | 24 # based decoding, demuxing, and sometimes optimized FFTs. If disabled, |
17 # implementors must provide their own demuxers and decoders. | 25 # implementors must provide their own demuxers and decoders. |
18 media_use_ffmpeg = true | 26 media_use_ffmpeg = true |
19 | 27 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 } | 145 } |
138 } | 146 } |
139 } | 147 } |
140 | 148 |
141 declare_args() { | 149 declare_args() { |
142 # This switch defines whether the Media Remoting implementation will be built. | 150 # This switch defines whether the Media Remoting implementation will be built. |
143 # When enabled, media is allowed to be renderer and played back on remote | 151 # When enabled, media is allowed to be renderer and played back on remote |
144 # devices when the tab is being casted and other conditions are met. | 152 # devices when the tab is being casted and other conditions are met. |
145 enable_media_remoting = !is_chromecast && !is_ios && !is_android | 153 enable_media_remoting = !is_chromecast && !is_ios && !is_android |
146 } | 154 } |
OLD | NEW |