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

Side by Side Diff: webrtc/BUILD.gn

Issue 2372983002: Make 'webrtc' a static library. (Closed)
Patch Set: Added TODOs Created 4 years, 2 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 | webrtc/build/no_op_function.cc » ('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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330.
10 10
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 } 233 }
234 } 234 }
235 235
236 config("common_objc") { 236 config("common_objc") {
237 libs = [ "Foundation.framework" ] 237 libs = [ "Foundation.framework" ]
238 precompiled_header = "sdk/objc/WebRTC-Prefix.pch" 238 precompiled_header = "sdk/objc/WebRTC-Prefix.pch"
239 precompiled_source = "sdk/objc/WebRTC-Prefix.pch" 239 precompiled_source = "sdk/objc/WebRTC-Prefix.pch"
240 } 240 }
241 241
242 if (!is_ios || !build_with_chromium) { 242 if (!is_ios || !build_with_chromium) {
243 rtc_source_set("webrtc") { 243 rtc_static_library("webrtc") {
244 sources = [ 244 sources = [
245 # TODO(kjellander): Remove this whenever possible. GN's static_library
246 # target type requires at least one object to avoid errors linking.
247 "build/no_op_function.cc",
245 "call.h", 248 "call.h",
246 "config.h", 249 "config.h",
247 "transport.h", 250 "transport.h",
248 ] 251 ]
249 252
250 defines = [] 253 defines = []
251 254
252 deps = [ 255 deps = [
253 ":webrtc_common", 256 ":webrtc_common",
254 "audio", 257 "audio",
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 ] 845 ]
843 846
844 deps = [ 847 deps = [
845 "//webrtc/api:libjingle_peerconnection_java", 848 "//webrtc/api:libjingle_peerconnection_java",
846 "//webrtc/api:libjingle_peerconnection_jni", 849 "//webrtc/api:libjingle_peerconnection_jni",
847 "//webrtc/examples:AppRTCDemo_javalib", 850 "//webrtc/examples:AppRTCDemo_javalib",
848 ] 851 ]
849 } 852 }
850 } 853 }
851 } 854 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/build/no_op_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698