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

Side by Side Diff: webrtc/pc/BUILD.gn

Issue 2947273002: Fix the binary size regression on Chromium Windows. (Closed)
Patch Set: Change to rtc_source_set to rtc_static_library to break the dependency from chromium.dll to opus. Created 3 years, 6 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/media/BUILD.gn ('k') | no next file » | 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) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 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("../webrtc.gni") 9 import("../webrtc.gni")
10 if (is_android) { 10 if (is_android) {
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 "../api:libjingle_peerconnection_api", 178 "../api:libjingle_peerconnection_api",
179 ] 179 ]
180 } 180 }
181 181
182 # This target implements CreatePeerConnectionFactory methods that will create a 182 # This target implements CreatePeerConnectionFactory methods that will create a
183 # PeerConnection will full functionality (audio, video and data). Applications 183 # PeerConnection will full functionality (audio, video and data). Applications
184 # that wish to reduce their binary size by ommitting functionality they don't 184 # that wish to reduce their binary size by ommitting functionality they don't
185 # need should use CreateModularCreatePeerConnectionFactory instead, using the 185 # need should use CreateModularCreatePeerConnectionFactory instead, using the
186 # "peerconnection" build target and other targets specific to their 186 # "peerconnection" build target and other targets specific to their
187 # requrements. See comment in peerconnectionfactoryinterface.h. 187 # requrements. See comment in peerconnectionfactoryinterface.h.
188 rtc_source_set("create_pc_factory") { 188 rtc_static_library("create_pc_factory") {
189 sources = [ 189 sources = [
190 "createpeerconnectionfactory.cc", 190 "createpeerconnectionfactory.cc",
191 ] 191 ]
192 192
193 deps = [ 193 deps = [
194 "../api:audio_mixer_api", 194 "../api:audio_mixer_api",
195 "../api:libjingle_peerconnection_api", 195 "../api:libjingle_peerconnection_api",
196 "../api/audio_codecs:audio_codecs_api", 196 "../api/audio_codecs:audio_codecs_api",
197 "../api/audio_codecs:builtin_audio_decoder_factory", 197 "../api/audio_codecs:builtin_audio_decoder_factory",
198 "../api/audio_codecs:builtin_audio_encoder_factory", 198 "../api/audio_codecs:builtin_audio_encoder_factory",
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 "//testing/gmock", 447 "//testing/gmock",
448 ] 448 ]
449 449
450 if (is_android) { 450 if (is_android) {
451 deps += [ "//testing/android/native_test:native_test_support" ] 451 deps += [ "//testing/android/native_test:native_test_support" ]
452 452
453 shard_timeout = 900 453 shard_timeout = 900
454 } 454 }
455 } 455 }
456 } 456 }
OLDNEW
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698