| 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 } | 382 } |
| 383 } | 383 } |
| 384 | 384 |
| 385 if (is_ios) { | 385 if (is_ios) { |
| 386 ios_framework_bundle("objc_framework") { | 386 ios_framework_bundle("objc_framework") { |
| 387 info_plist = "objc/Framework/Info.plist" | 387 info_plist = "objc/Framework/Info.plist" |
| 388 output_name = "WebRTC" | 388 output_name = "WebRTC" |
| 389 | 389 |
| 390 common_objc_headers = [ | 390 common_objc_headers = [ |
| 391 "objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h", | 391 "objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h", |
| 392 "objc/Framework/Headers/WebRTC/RTCAudioSource.h", |
| 393 "objc/Framework/Headers/WebRTC/RTCAudioTrack.h", |
| 394 "objc/Framework/Headers/WebRTC/RTCCameraVideoCapturer.h", |
| 395 "objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h", |
| 392 "objc/Framework/Headers/WebRTC/RTCConfiguration.h", | 396 "objc/Framework/Headers/WebRTC/RTCConfiguration.h", |
| 393 "objc/Framework/Headers/WebRTC/RTCDataChannel.h", | 397 "objc/Framework/Headers/WebRTC/RTCDataChannel.h", |
| 394 "objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h", | 398 "objc/Framework/Headers/WebRTC/RTCDataChannelConfiguration.h", |
| 395 "objc/Framework/Headers/WebRTC/RTCDispatcher.h", | 399 "objc/Framework/Headers/WebRTC/RTCDispatcher.h", |
| 396 "objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h", | 400 "objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h", |
| 397 "objc/Framework/Headers/WebRTC/RTCFieldTrials.h", | 401 "objc/Framework/Headers/WebRTC/RTCFieldTrials.h", |
| 398 "objc/Framework/Headers/WebRTC/RTCIceCandidate.h", | 402 "objc/Framework/Headers/WebRTC/RTCIceCandidate.h", |
| 399 "objc/Framework/Headers/WebRTC/RTCIceServer.h", | 403 "objc/Framework/Headers/WebRTC/RTCIceServer.h", |
| 400 "objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h", | 404 "objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h", |
| 401 "objc/Framework/Headers/WebRTC/RTCLogging.h", | 405 "objc/Framework/Headers/WebRTC/RTCLogging.h", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 418 "objc/Framework/Headers/WebRTC/RTCTracing.h", | 422 "objc/Framework/Headers/WebRTC/RTCTracing.h", |
| 419 "objc/Framework/Headers/WebRTC/RTCVideoCapturer.h", | 423 "objc/Framework/Headers/WebRTC/RTCVideoCapturer.h", |
| 420 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", | 424 "objc/Framework/Headers/WebRTC/RTCVideoFrame.h", |
| 421 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", | 425 "objc/Framework/Headers/WebRTC/RTCVideoRenderer.h", |
| 422 "objc/Framework/Headers/WebRTC/RTCVideoSource.h", | 426 "objc/Framework/Headers/WebRTC/RTCVideoSource.h", |
| 423 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h", | 427 "objc/Framework/Headers/WebRTC/RTCVideoTrack.h", |
| 424 "objc/Framework/Headers/WebRTC/RTCVideoViewShading.h", | 428 "objc/Framework/Headers/WebRTC/RTCVideoViewShading.h", |
| 425 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h", | 429 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h", |
| 426 "objc/Framework/Headers/WebRTC/WebRTC.h", | 430 "objc/Framework/Headers/WebRTC/WebRTC.h", |
| 427 ] | 431 ] |
| 428 | 432 if (rtc_use_metal_rendering) { |
| 433 common_objc_headers += |
| 434 [ "objc/Framework/Headers/WebRTC/RTCMTLVideoView.h" ] |
| 435 } |
| 429 sources = common_objc_headers | 436 sources = common_objc_headers |
| 430 public_headers = common_objc_headers | 437 public_headers = common_objc_headers |
| 431 | 438 |
| 432 if (!build_with_chromium) { | 439 if (!build_with_chromium) { |
| 433 sources += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] | 440 sources += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] |
| 434 public_headers += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] | 441 public_headers += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] |
| 435 } | 442 } |
| 436 | 443 |
| 437 ldflags = [ | 444 ldflags = [ |
| 438 "-all_load", | 445 "-all_load", |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 deps += [ "$rtc_libyuv_dir" ] | 548 deps += [ "$rtc_libyuv_dir" ] |
| 542 public_deps = [ | 549 public_deps = [ |
| 543 "$rtc_libyuv_dir", | 550 "$rtc_libyuv_dir", |
| 544 ] | 551 ] |
| 545 } else { | 552 } else { |
| 546 # Need to add a directory normally exported by libyuv. | 553 # Need to add a directory normally exported by libyuv. |
| 547 include_dirs = [ "$rtc_libyuv_dir/include" ] | 554 include_dirs = [ "$rtc_libyuv_dir/include" ] |
| 548 } | 555 } |
| 549 } | 556 } |
| 550 } | 557 } |
| OLD | NEW |