OLD | NEW |
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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 libs = [ "Foundation.framework" ] | 220 libs = [ "Foundation.framework" ] |
221 } | 221 } |
222 | 222 |
223 if (!build_with_chromium) { | 223 if (!build_with_chromium) { |
224 # Target to build all the WebRTC production code. | 224 # Target to build all the WebRTC production code. |
225 rtc_static_library("webrtc") { | 225 rtc_static_library("webrtc") { |
226 # Only the root target should depend on this. | 226 # Only the root target should depend on this. |
227 visibility = [ "//:default" ] | 227 visibility = [ "//:default" ] |
228 | 228 |
229 sources = [ | 229 sources = [ |
230 # TODO(kjellander): Remove this whenever possible. GN's static_library | |
231 # target type requires at least one object to avoid errors linking. | |
232 "no_op_function.cc", | |
233 | |
234 # TODO(ossu): Keep this here until donwstream projects have updated. | 230 # TODO(ossu): Keep this here until donwstream projects have updated. |
235 # http://bugs.webrtc.org/6716 | 231 # http://bugs.webrtc.org/6716 |
236 "call.h", | 232 "call.h", |
237 "config.h", | 233 "config.h", |
238 ] | 234 ] |
239 | 235 |
| 236 # complete_static_lib doesn't work on Mac since libtool cannot support |
| 237 # multiple objects with the same filenames (https://bugs.webrtc.org/6418). |
| 238 if (is_win || is_linux || is_android) { |
| 239 complete_static_lib = true |
| 240 } else { |
| 241 # TODO(kjellander): Remove this whenever possible. GN's static_library |
| 242 # target type requires at least one object to avoid errors linking. |
| 243 sources += [ "no_op_function.cc" ] |
| 244 } |
| 245 |
240 defines = [] | 246 defines = [] |
241 | 247 |
242 deps = [ | 248 deps = [ |
243 ":webrtc_common", | 249 ":webrtc_common", |
244 "api", | 250 "api", |
245 "api:transport_api", | 251 "api:transport_api", |
246 "audio", | 252 "audio", |
247 "base", | 253 "base", |
248 "call", | 254 "call", |
249 "common_audio", | 255 "common_audio", |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 ] | 503 ] |
498 | 504 |
499 deps = [ | 505 deps = [ |
500 "//base:base_java_test_support", | 506 "//base:base_java_test_support", |
501 "//webrtc/examples:AppRTCMobile_javalib", | 507 "//webrtc/examples:AppRTCMobile_javalib", |
502 "//webrtc/sdk/android:libjingle_peerconnection_java", | 508 "//webrtc/sdk/android:libjingle_peerconnection_java", |
503 ] | 509 ] |
504 } | 510 } |
505 } | 511 } |
506 } | 512 } |
OLD | NEW |