Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright 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_ios) { | 10 if (is_ios) { |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 310 ] | 310 ] |
| 311 | 311 |
| 312 sources = common_objc_headers | 312 sources = common_objc_headers |
| 313 public_headers = common_objc_headers | 313 public_headers = common_objc_headers |
| 314 | 314 |
| 315 if (!build_with_chromium) { | 315 if (!build_with_chromium) { |
| 316 sources += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] | 316 sources += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] |
| 317 public_headers += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] | 317 public_headers += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] |
| 318 } | 318 } |
| 319 | 319 |
| 320 ldflags = [ "-all_load" ] | 320 ldflags = [ |
| 321 "-all_load", | |
| 322 "-install_name", | |
|
daniela-webrtc
2017/01/26 07:44:24
I'm not familiar with this flag. What is it suppos
kthelgason
2017/01/26 08:31:48
In short, it has to do with how macOS loads dynami
| |
| 323 "@rpath/$output_name.framework/$output_name", | |
| 324 ] | |
| 321 | 325 |
| 322 deps = [ | 326 deps = [ |
| 323 ":rtc_sdk_peerconnection_objc", | 327 ":rtc_sdk_peerconnection_objc", |
| 324 "../system_wrappers:field_trial_default", | 328 "../system_wrappers:field_trial_default", |
| 325 "../system_wrappers:metrics_default", | 329 "../system_wrappers:metrics_default", |
| 326 ] | 330 ] |
| 327 | 331 |
| 328 libs = [ | 332 libs = [ |
| 329 "AVFoundation.framework", | 333 "AVFoundation.framework", |
| 330 "AudioToolbox.framework", | 334 "AudioToolbox.framework", |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 392 deps += [ "$rtc_libyuv_dir" ] | 396 deps += [ "$rtc_libyuv_dir" ] |
| 393 public_deps = [ | 397 public_deps = [ |
| 394 "$rtc_libyuv_dir", | 398 "$rtc_libyuv_dir", |
| 395 ] | 399 ] |
| 396 } else { | 400 } else { |
| 397 # Need to add a directory normally exported by libyuv. | 401 # Need to add a directory normally exported by libyuv. |
| 398 include_dirs = [ "$rtc_libyuv_dir/include" ] | 402 include_dirs = [ "$rtc_libyuv_dir/include" ] |
| 399 } | 403 } |
| 400 } | 404 } |
| 401 } | 405 } |
| OLD | NEW |