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