Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(351)

Side by Side Diff: media/media_options.gni

Issue 2809793002: Build Chrome Remote Desktop for iOS in Chromium trybots. (Closed)
Patch Set: Working around an unused variable issue. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | remoting/BUILD.gn » ('j') | remoting/client/ios/host_preferences.mm » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of 10 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of
11 # using dlopen. This helps with automated detection of ABI mismatches and 11 # using dlopen. This helps with automated detection of ABI mismatches and
12 # prevents silent errors. 12 # prevents silent errors.
13 link_pulseaudio = false 13 link_pulseaudio = false
14 14
15 # Enable usage of FFmpeg within the media library. Used for most software 15 # Enable usage of FFmpeg within the media library. Used for most software
16 # based decoding, demuxing, and sometimes optimized FFTs. If disabled, 16 # based decoding, demuxing, and sometimes optimized FFTs. If disabled,
17 # implementors must provide their own demuxers and decoders. 17 # implementors must provide their own demuxers and decoders.
18 media_use_ffmpeg = true 18 media_use_ffmpeg = true
19 19
20 # Enable usage of libvpx within the media library. Used for software based 20 # Enable usage of libvpx within the media library. Used for software based
21 # decoding of VP9 and VP8A type content. 21 # decoding of VP9 and VP8A type content.
22 media_use_libvpx = true 22 media_use_libvpx = true
23 23
24 # iOS doesn't use ffmpeg, libvpx. 24 # iOS doesn't use ffmpeg, libvpx.
25 if (is_ios) { 25 if (is_ios) {
sdefresne 2017/04/12 15:27:52 I think this condition will always be false. I wou
nicholss 2017/04/12 15:35:32 This is very interesting. I wonder how many places
26 media_use_ffmpeg = false 26 media_use_ffmpeg = false
27 media_use_libvpx = false 27 media_use_libvpx = false
28 } 28 }
29 29
30 # Override to dynamically link the cras (ChromeOS audio) library. 30 # Override to dynamically link the cras (ChromeOS audio) library.
31 use_cras = false 31 use_cras = false
32 32
33 # Use low-memory buffers on non-Android builds of Chromecast. 33 # Use low-memory buffers on non-Android builds of Chromecast.
34 use_low_memory_buffer = is_chromecast && !is_android 34 use_low_memory_buffer = is_chromecast && !is_android
35 35
(...skipping 11 matching lines...) Expand all
47 47
48 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the 48 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the
49 # platform. Enable by default for Chromecast. 49 # platform. Enable by default for Chromecast.
50 enable_hevc_demuxing = proprietary_codecs && is_chromecast 50 enable_hevc_demuxing = proprietary_codecs && is_chromecast
51 51
52 # Enable Dolby Vision demuxing. Enable by default for Chromecast. Actual 52 # Enable Dolby Vision demuxing. Enable by default for Chromecast. Actual
53 # decoding must be provided by the platform. Note some Dolby Vision profiles 53 # decoding must be provided by the platform. Note some Dolby Vision profiles
54 # which are encoded using HEVC require |enable_hevc_demuxing| to be enabled. 54 # which are encoded using HEVC require |enable_hevc_demuxing| to be enabled.
55 enable_dolby_vision_demuxing = proprietary_codecs && is_chromecast 55 enable_dolby_vision_demuxing = proprietary_codecs && is_chromecast
56 56
57 enable_webrtc = !is_ios && !is_cast_audio_only 57 enable_webrtc = !is_cast_audio_only
58 58
59 # Enable HLS with SAMPLE-AES decryption. 59 # Enable HLS with SAMPLE-AES decryption.
60 # Enabled by default on the cast desktop implementation to allow unit tests of 60 # Enabled by default on the cast desktop implementation to allow unit tests of
61 # MP2TS parsing support. 61 # MP2TS parsing support.
62 enable_hls_sample_aes = proprietary_codecs && is_cast_desktop_build 62 enable_hls_sample_aes = proprietary_codecs && is_cast_desktop_build
63 63
64 # If true, use cast CMA backend instead of default chromium media pipeline. 64 # If true, use cast CMA backend instead of default chromium media pipeline.
65 is_cast_using_cma_backend = is_cast_audio_only || !is_android 65 is_cast_using_cma_backend = is_cast_audio_only || !is_android
66 } 66 }
67 67
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 } 171 }
172 } 172 }
173 } 173 }
174 174
175 declare_args() { 175 declare_args() {
176 # This switch defines whether the Media Remoting implementation will be built. 176 # This switch defines whether the Media Remoting implementation will be built.
177 # When enabled, media is allowed to be renderer and played back on remote 177 # When enabled, media is allowed to be renderer and played back on remote
178 # devices when the tab is being casted and other conditions are met. 178 # devices when the tab is being casted and other conditions are met.
179 enable_media_remoting = !is_chromecast && !is_ios && !is_android 179 enable_media_remoting = !is_chromecast && !is_ios && !is_android
180 } 180 }
OLDNEW
« no previous file with comments | « no previous file | remoting/BUILD.gn » ('j') | remoting/client/ios/host_preferences.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698