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

Side by Side Diff: webrtc/build/webrtc.gni

Issue 2250483002: Add a .gyp option to use dummy audio file devices. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add gn version Created 4 years, 4 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 | « webrtc/build/common.gypi ('k') | webrtc/modules/audio_device/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 # value that includes H.264, for example "Chrome". If FFmpeg is built without 105 # value that includes H.264, for example "Chrome". If FFmpeg is built without
106 # H.264, compilation succeeds but |H264DecoderImpl| fails to initialize. See 106 # H.264, compilation succeeds but |H264DecoderImpl| fails to initialize. See
107 # also: |rtc_initialize_ffmpeg|. 107 # also: |rtc_initialize_ffmpeg|.
108 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. 108 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING.
109 # http://www.openh264.org, https://www.ffmpeg.org/ 109 # http://www.openh264.org, https://www.ffmpeg.org/
110 rtc_use_h264 = proprietary_codecs && !is_android && !is_ios 110 rtc_use_h264 = proprietary_codecs && !is_android && !is_ios
111 111
112 # Determines whether QUIC code will be built. 112 # Determines whether QUIC code will be built.
113 rtc_use_quic = false 113 rtc_use_quic = false
114 114
115 # By default, use normal platform audio support or dummy audio, but don't
116 # use file-based audio playout and record.
117 rtc_use_dummy_audio_file_devices = false
118
115 # FFmpeg must be initialized for |H264DecoderImpl| to work. This can be done 119 # FFmpeg must be initialized for |H264DecoderImpl| to work. This can be done
116 # by WebRTC during |H264DecoderImpl::InitDecode| or externally. FFmpeg must 120 # by WebRTC during |H264DecoderImpl::InitDecode| or externally. FFmpeg must
117 # only be initialized once. Projects that initialize FFmpeg externally, such 121 # only be initialized once. Projects that initialize FFmpeg externally, such
118 # as Chromium, must turn this flag off so that WebRTC does not also 122 # as Chromium, must turn this flag off so that WebRTC does not also
119 # initialize. 123 # initialize.
120 rtc_initialize_ffmpeg = !build_with_chromium 124 rtc_initialize_ffmpeg = !build_with_chromium
121 125
122 # Build sources requiring GTK. NOTICE: This is not present in Chrome OS 126 # Build sources requiring GTK. NOTICE: This is not present in Chrome OS
123 # build environments, even if available for Chromium builds. 127 # build environments, even if available for Chromium builds.
124 rtc_use_gtk = !build_with_chromium 128 rtc_use_gtk = !build_with_chromium
125 } 129 }
126 130
127 # A second declare_args block, so that declarations within it can 131 # A second declare_args block, so that declarations within it can
128 # depend on the possibly overridden variables in the first 132 # depend on the possibly overridden variables in the first
129 # declare_args block. 133 # declare_args block.
130 declare_args() { 134 declare_args() {
131 # Include the iLBC audio codec? 135 # Include the iLBC audio codec?
132 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla) 136 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla)
133 } 137 }
134 138
135 # Make it possible to provide custom locations for some libraries (move these 139 # Make it possible to provide custom locations for some libraries (move these
136 # up into declare_args should we need to actually use them for the GN build). 140 # up into declare_args should we need to actually use them for the GN build).
137 rtc_libvpx_dir = "//third_party/libvpx" 141 rtc_libvpx_dir = "//third_party/libvpx"
138 rtc_libyuv_dir = "//third_party/libyuv" 142 rtc_libyuv_dir = "//third_party/libyuv"
139 rtc_opus_dir = "//third_party/opus" 143 rtc_opus_dir = "//third_party/opus"
OLDNEW
« no previous file with comments | « webrtc/build/common.gypi ('k') | webrtc/modules/audio_device/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698