| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 "objc/Framework/Classes/Common/RTCUIApplicationStatusObserver.m", | 56 "objc/Framework/Classes/Common/RTCUIApplicationStatusObserver.m", |
| 57 "objc/Framework/Classes/Common/helpers.h", | 57 "objc/Framework/Classes/Common/helpers.h", |
| 58 "objc/Framework/Classes/Common/helpers.mm", | 58 "objc/Framework/Classes/Common/helpers.mm", |
| 59 "objc/Framework/Headers/WebRTC/RTCDispatcher.h", | 59 "objc/Framework/Headers/WebRTC/RTCDispatcher.h", |
| 60 "objc/Framework/Headers/WebRTC/RTCFieldTrials.h", | 60 "objc/Framework/Headers/WebRTC/RTCFieldTrials.h", |
| 61 "objc/Framework/Headers/WebRTC/RTCLogging.h", | 61 "objc/Framework/Headers/WebRTC/RTCLogging.h", |
| 62 "objc/Framework/Headers/WebRTC/RTCMacros.h", | 62 "objc/Framework/Headers/WebRTC/RTCMacros.h", |
| 63 ] | 63 ] |
| 64 | 64 |
| 65 deps = [ | 65 deps = [ |
| 66 "../base:rtc_base", | 66 "../rtc_base:rtc_base", |
| 67 ] | 67 ] |
| 68 configs += [ "..:common_objc" ] | 68 configs += [ "..:common_objc" ] |
| 69 | 69 |
| 70 public_configs = [ ":objc_common_config" ] | 70 public_configs = [ ":objc_common_config" ] |
| 71 | 71 |
| 72 if (is_ios) { | 72 if (is_ios) { |
| 73 sources += [ | 73 sources += [ |
| 74 "objc/Framework/Classes/Common/UIDevice+RTCDevice.mm", | 74 "objc/Framework/Classes/Common/UIDevice+RTCDevice.mm", |
| 75 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h", | 75 "objc/Framework/Headers/WebRTC/UIDevice+RTCDevice.h", |
| 76 ] | 76 ] |
| (...skipping 14 matching lines...) Expand all Loading... |
| 91 "objc/Framework/Classes/Audio/RTCAudioSession+Private.h", | 91 "objc/Framework/Classes/Audio/RTCAudioSession+Private.h", |
| 92 "objc/Framework/Classes/Audio/RTCAudioSession.mm", | 92 "objc/Framework/Classes/Audio/RTCAudioSession.mm", |
| 93 "objc/Framework/Classes/Audio/RTCAudioSessionConfiguration.m", | 93 "objc/Framework/Classes/Audio/RTCAudioSessionConfiguration.m", |
| 94 "objc/Framework/Headers/WebRTC/RTCAudioSession.h", | 94 "objc/Framework/Headers/WebRTC/RTCAudioSession.h", |
| 95 "objc/Framework/Headers/WebRTC/RTCAudioSessionConfiguration.h", | 95 "objc/Framework/Headers/WebRTC/RTCAudioSessionConfiguration.h", |
| 96 ] | 96 ] |
| 97 configs += [ "..:common_objc" ] | 97 configs += [ "..:common_objc" ] |
| 98 | 98 |
| 99 deps = [ | 99 deps = [ |
| 100 ":objc_common", | 100 ":objc_common", |
| 101 "../base:rtc_base_approved", | 101 "../rtc_base:rtc_base_approved", |
| 102 ] | 102 ] |
| 103 | 103 |
| 104 if (is_clang) { | 104 if (is_clang) { |
| 105 # Suppress warnings from the Chromium Clang plugin | 105 # Suppress warnings from the Chromium Clang plugin |
| 106 # (bugs.webrtc.org/163). | 106 # (bugs.webrtc.org/163). |
| 107 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 107 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 108 } | 108 } |
| 109 } | 109 } |
| 110 | 110 |
| 111 # Keep videotracksource related code in a separate target so that we can | 111 # Keep videotracksource related code in a separate target so that we can |
| 112 # build PeerConnectionFactory without audio/video support when that's called | 112 # build PeerConnectionFactory without audio/video support when that's called |
| 113 # for. | 113 # for. |
| 114 rtc_static_library("objc_videotracksource") { | 114 rtc_static_library("objc_videotracksource") { |
| 115 sources = [ | 115 sources = [ |
| 116 "objc/Framework/Classes/Video/RTCCVPixelBuffer.mm", | 116 "objc/Framework/Classes/Video/RTCCVPixelBuffer.mm", |
| 117 "objc/Framework/Classes/Video/RTCI420Buffer+Private.h", | 117 "objc/Framework/Classes/Video/RTCI420Buffer+Private.h", |
| 118 "objc/Framework/Classes/Video/RTCI420Buffer.mm", | 118 "objc/Framework/Classes/Video/RTCI420Buffer.mm", |
| 119 "objc/Framework/Classes/Video/objc_frame_buffer.h", | 119 "objc/Framework/Classes/Video/objc_frame_buffer.h", |
| 120 "objc/Framework/Classes/Video/objc_frame_buffer.mm", | 120 "objc/Framework/Classes/Video/objc_frame_buffer.mm", |
| 121 "objc/Framework/Classes/Video/objcvideotracksource.h", | 121 "objc/Framework/Classes/Video/objcvideotracksource.h", |
| 122 "objc/Framework/Classes/Video/objcvideotracksource.mm", | 122 "objc/Framework/Classes/Video/objcvideotracksource.mm", |
| 123 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", | 123 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", |
| 124 ] | 124 ] |
| 125 | 125 |
| 126 deps = [ | 126 deps = [ |
| 127 ":objc_common", | 127 ":objc_common", |
| 128 "../api:libjingle_peerconnection_api", | 128 "../api:libjingle_peerconnection_api", |
| 129 "../api:video_frame_api", | 129 "../api:video_frame_api", |
| 130 "../base:rtc_base", | |
| 131 "../common_video", | 130 "../common_video", |
| 132 "../media:rtc_media_base", | 131 "../media:rtc_media_base", |
| 132 "../rtc_base:rtc_base", |
| 133 ] | 133 ] |
| 134 | 134 |
| 135 configs += [ "..:common_objc" ] | 135 configs += [ "..:common_objc" ] |
| 136 if (!build_with_chromium && is_clang) { | 136 if (!build_with_chromium && is_clang) { |
| 137 # Suppress warnings from the Chromium Clang plugin | 137 # Suppress warnings from the Chromium Clang plugin |
| 138 # (bugs.webrtc.org/163). | 138 # (bugs.webrtc.org/163). |
| 139 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 139 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 140 } | 140 } |
| 141 } | 141 } |
| 142 | 142 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 "CoreMedia.framework", | 174 "CoreMedia.framework", |
| 175 "CoreVideo.framework", | 175 "CoreVideo.framework", |
| 176 "OpenGL.framework", | 176 "OpenGL.framework", |
| 177 ] | 177 ] |
| 178 } | 178 } |
| 179 | 179 |
| 180 deps = [ | 180 deps = [ |
| 181 ":objc_common", | 181 ":objc_common", |
| 182 ":objc_videotracksource", | 182 ":objc_videotracksource", |
| 183 "../api:libjingle_peerconnection_api", | 183 "../api:libjingle_peerconnection_api", |
| 184 "../base:rtc_base", | |
| 185 "../common_video", | 184 "../common_video", |
| 186 "../media:rtc_media_base", | 185 "../media:rtc_media_base", |
| 186 "../rtc_base:rtc_base", |
| 187 ] | 187 ] |
| 188 | 188 |
| 189 configs += [ "..:common_objc" ] | 189 configs += [ "..:common_objc" ] |
| 190 if (!build_with_chromium && is_clang) { | 190 if (!build_with_chromium && is_clang) { |
| 191 # Suppress warnings from the Chromium Clang plugin | 191 # Suppress warnings from the Chromium Clang plugin |
| 192 # (bugs.webrtc.org/163). | 192 # (bugs.webrtc.org/163). |
| 193 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 193 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 194 } | 194 } |
| 195 } | 195 } |
| 196 | 196 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 ] | 240 ] |
| 241 } | 241 } |
| 242 libs = [ | 242 libs = [ |
| 243 "CoreVideo.framework", | 243 "CoreVideo.framework", |
| 244 "Metal.framework", | 244 "Metal.framework", |
| 245 "MetalKit.framework", | 245 "MetalKit.framework", |
| 246 ] | 246 ] |
| 247 deps = [ | 247 deps = [ |
| 248 ":objc_video", | 248 ":objc_video", |
| 249 "../api:video_frame_api", | 249 "../api:video_frame_api", |
| 250 "../base:rtc_base_approved", | 250 "../rtc_base:rtc_base_approved", |
| 251 ] | 251 ] |
| 252 configs += [ "..:common_objc" ] | 252 configs += [ "..:common_objc" ] |
| 253 public_configs = [ ":objc_common_config" ] | 253 public_configs = [ ":objc_common_config" ] |
| 254 } | 254 } |
| 255 } | 255 } |
| 256 | 256 |
| 257 rtc_static_library("objc_peerconnection") { | 257 rtc_static_library("objc_peerconnection") { |
| 258 sources = [ | 258 sources = [ |
| 259 "objc/Framework/Classes/PeerConnection/RTCAVFoundationVideoSource+Privat
e.h", | 259 "objc/Framework/Classes/PeerConnection/RTCAVFoundationVideoSource+Privat
e.h", |
| 260 "objc/Framework/Classes/PeerConnection/RTCAVFoundationVideoSource.mm", | 260 "objc/Framework/Classes/PeerConnection/RTCAVFoundationVideoSource.mm", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 282 # (bugs.webrtc.org/163). | 282 # (bugs.webrtc.org/163). |
| 283 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 283 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 284 } | 284 } |
| 285 | 285 |
| 286 deps = [ | 286 deps = [ |
| 287 ":objc_common", | 287 ":objc_common", |
| 288 ":objc_corevideoframebuffer", | 288 ":objc_corevideoframebuffer", |
| 289 ":objc_peerconnectionfactory", | 289 ":objc_peerconnectionfactory", |
| 290 ":objc_video", | 290 ":objc_video", |
| 291 "../api:video_frame_api", | 291 "../api:video_frame_api", |
| 292 "../base:rtc_base", | |
| 293 "../media:rtc_media_base", | 292 "../media:rtc_media_base", |
| 294 "../pc:libjingle_peerconnection", | 293 "../pc:libjingle_peerconnection", |
| 294 "../rtc_base:rtc_base", |
| 295 ] | 295 ] |
| 296 | 296 |
| 297 if (rtc_use_metal_rendering) { | 297 if (rtc_use_metal_rendering) { |
| 298 deps += [ ":objc_metal" ] | 298 deps += [ ":objc_metal" ] |
| 299 } | 299 } |
| 300 | 300 |
| 301 if (rtc_build_libyuv) { | 301 if (rtc_build_libyuv) { |
| 302 deps += [ "$rtc_libyuv_dir" ] | 302 deps += [ "$rtc_libyuv_dir" ] |
| 303 public_deps = [ | 303 public_deps = [ |
| 304 "$rtc_libyuv_dir", | 304 "$rtc_libyuv_dir", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 327 | 327 |
| 328 deps = [ | 328 deps = [ |
| 329 ":objc_common", | 329 ":objc_common", |
| 330 ":objc_corevideoframebuffer", | 330 ":objc_corevideoframebuffer", |
| 331 ":objc_peerconnectionfactory_base", | 331 ":objc_peerconnectionfactory_base", |
| 332 ":objc_video", | 332 ":objc_video", |
| 333 ":objc_videotoolbox", | 333 ":objc_videotoolbox", |
| 334 ":objc_videotracksource", | 334 ":objc_videotracksource", |
| 335 "../api:video_frame_api", | 335 "../api:video_frame_api", |
| 336 "../api/video_codecs:video_codecs_api", | 336 "../api/video_codecs:video_codecs_api", |
| 337 "../base:rtc_base", | |
| 338 "../media:rtc_audio_video", | 337 "../media:rtc_audio_video", |
| 339 "../media:rtc_media_base", | 338 "../media:rtc_media_base", |
| 340 "../modules:module_api", | 339 "../modules:module_api", |
| 341 "../pc:create_pc_factory", | 340 "../pc:create_pc_factory", |
| 342 "../pc:peerconnection", | 341 "../pc:peerconnection", |
| 342 "../rtc_base:rtc_base", |
| 343 "../system_wrappers:field_trial_api", | 343 "../system_wrappers:field_trial_api", |
| 344 ] | 344 ] |
| 345 } | 345 } |
| 346 | 346 |
| 347 # Build the PeerConnectionFactory without audio/video support. | 347 # Build the PeerConnectionFactory without audio/video support. |
| 348 # This target depends on the objc_peeerconnectionfactory_base which still | 348 # This target depends on the objc_peeerconnectionfactory_base which still |
| 349 # includes some audio/video related objects such as RTCAudioSource because | 349 # includes some audio/video related objects such as RTCAudioSource because |
| 350 # these objects are just thin wrappers of native C++ interfaces required | 350 # these objects are just thin wrappers of native C++ interfaces required |
| 351 # when implementing webrtc::PeerConnectionFactoryInterface and | 351 # when implementing webrtc::PeerConnectionFactoryInterface and |
| 352 # webrtc::PeerConnectionInterface. | 352 # webrtc::PeerConnectionInterface. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 364 | 364 |
| 365 if (!build_with_chromium && is_clang) { | 365 if (!build_with_chromium && is_clang) { |
| 366 # Suppress warnings from the Chromium Clang plugin | 366 # Suppress warnings from the Chromium Clang plugin |
| 367 # (bugs.webrtc.org/163). | 367 # (bugs.webrtc.org/163). |
| 368 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 368 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 369 } | 369 } |
| 370 | 370 |
| 371 deps = [ | 371 deps = [ |
| 372 ":objc_peerconnectionfactory_base", | 372 ":objc_peerconnectionfactory_base", |
| 373 "../api:libjingle_peerconnection_api", | 373 "../api:libjingle_peerconnection_api", |
| 374 "../base:rtc_base", | 374 "../rtc_base:rtc_base", |
| 375 ] | 375 ] |
| 376 } | 376 } |
| 377 | 377 |
| 378 rtc_static_library("objc_peerconnectionfactory_base") { | 378 rtc_static_library("objc_peerconnectionfactory_base") { |
| 379 sources = [ | 379 sources = [ |
| 380 "objc/Framework/Classes/PeerConnection/RTCAudioSource+Private.h", | 380 "objc/Framework/Classes/PeerConnection/RTCAudioSource+Private.h", |
| 381 "objc/Framework/Classes/PeerConnection/RTCAudioSource.mm", | 381 "objc/Framework/Classes/PeerConnection/RTCAudioSource.mm", |
| 382 "objc/Framework/Classes/PeerConnection/RTCAudioTrack+Private.h", | 382 "objc/Framework/Classes/PeerConnection/RTCAudioTrack+Private.h", |
| 383 "objc/Framework/Classes/PeerConnection/RTCAudioTrack.mm", | 383 "objc/Framework/Classes/PeerConnection/RTCAudioTrack.mm", |
| 384 "objc/Framework/Classes/PeerConnection/RTCConfiguration+Private.h", | 384 "objc/Framework/Classes/PeerConnection/RTCConfiguration+Private.h", |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 # Suppress warnings from the Chromium Clang plugin | 477 # Suppress warnings from the Chromium Clang plugin |
| 478 # (bugs.webrtc.org/163). | 478 # (bugs.webrtc.org/163). |
| 479 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 479 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 480 } | 480 } |
| 481 | 481 |
| 482 deps = [ | 482 deps = [ |
| 483 ":objc_common", | 483 ":objc_common", |
| 484 ":objc_corevideoframebuffer", | 484 ":objc_corevideoframebuffer", |
| 485 ":objc_videotracksource", | 485 ":objc_videotracksource", |
| 486 "../api:video_frame_api", | 486 "../api:video_frame_api", |
| 487 "../base:rtc_base", | |
| 488 "../common_video", | 487 "../common_video", |
| 489 "../media:rtc_media_base", | 488 "../media:rtc_media_base", |
| 490 "../modules:module_api", | 489 "../modules:module_api", |
| 491 "../pc:peerconnection", | 490 "../pc:peerconnection", |
| 491 "../rtc_base:rtc_base", |
| 492 ] | 492 ] |
| 493 } | 493 } |
| 494 | 494 |
| 495 if (rtc_include_tests) { | 495 if (rtc_include_tests) { |
| 496 rtc_source_set("objc_sdk_unittests") { | 496 rtc_source_set("objc_sdk_unittests") { |
| 497 testonly = true | 497 testonly = true |
| 498 | 498 |
| 499 # Skip restricting visibility on mobile platforms since the tests on tho
se | 499 # Skip restricting visibility on mobile platforms since the tests on tho
se |
| 500 # gets additional generated targets which would require many lines here
to | 500 # gets additional generated targets which would require many lines here
to |
| 501 # cover (which would be confusing to read and hard to maintain). | 501 # cover (which would be confusing to read and hard to maintain). |
| (...skipping 21 matching lines...) Expand all Loading... |
| 523 | 523 |
| 524 # |-ObjC| flag needed to make sure category method implementations | 524 # |-ObjC| flag needed to make sure category method implementations |
| 525 # are included: | 525 # are included: |
| 526 # https://developer.apple.com/library/mac/qa/qa1490/_index.html | 526 # https://developer.apple.com/library/mac/qa/qa1490/_index.html |
| 527 ldflags = [ "-ObjC" ] | 527 ldflags = [ "-ObjC" ] |
| 528 | 528 |
| 529 defines = [ "GTEST_RELATIVE_PATH" ] | 529 defines = [ "GTEST_RELATIVE_PATH" ] |
| 530 deps = [ | 530 deps = [ |
| 531 ":objc_peerconnection", | 531 ":objc_peerconnection", |
| 532 "..//system_wrappers:system_wrappers_default", | 532 "..//system_wrappers:system_wrappers_default", |
| 533 "../base:rtc_base_tests_utils", | 533 "../rtc_base:rtc_base_tests_utils", |
| 534 "../system_wrappers:system_wrappers_default", | 534 "../system_wrappers:system_wrappers_default", |
| 535 "//third_party/ocmock", | 535 "//third_party/ocmock", |
| 536 ] | 536 ] |
| 537 | 537 |
| 538 if (is_ios) { | 538 if (is_ios) { |
| 539 sources += [ "objc/Framework/UnitTests/RTCAudioSessionTest.mm" ] | 539 sources += [ "objc/Framework/UnitTests/RTCAudioSessionTest.mm" ] |
| 540 | 540 |
| 541 # RTCMTLVideoView not supported on 32-bit arm | 541 # RTCMTLVideoView not supported on 32-bit arm |
| 542 if (current_cpu != "arm") { | 542 if (current_cpu != "arm") { |
| 543 sources += [ "objc/Framework/UnitTests/RTCMTLVideoViewTests.mm" ] | 543 sources += [ "objc/Framework/UnitTests/RTCMTLVideoViewTests.mm" ] |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 ldflags = [ | 625 ldflags = [ |
| 626 "-all_load", | 626 "-all_load", |
| 627 "-install_name", | 627 "-install_name", |
| 628 "@rpath/$output_name.framework/$output_name", | 628 "@rpath/$output_name.framework/$output_name", |
| 629 ] | 629 ] |
| 630 | 630 |
| 631 deps = [ | 631 deps = [ |
| 632 ":objc_audio", | 632 ":objc_audio", |
| 633 ":objc_peerconnection", | 633 ":objc_peerconnection", |
| 634 ":objc_ui", | 634 ":objc_ui", |
| 635 "../base:rtc_base_approved", | 635 "../rtc_base:rtc_base_approved", |
| 636 "../system_wrappers:field_trial_default", | 636 "../system_wrappers:field_trial_default", |
| 637 "../system_wrappers:metrics_default", | 637 "../system_wrappers:metrics_default", |
| 638 ] | 638 ] |
| 639 | 639 |
| 640 libs = [ | 640 libs = [ |
| 641 "AVFoundation.framework", | 641 "AVFoundation.framework", |
| 642 "CoreGraphics.framework", | 642 "CoreGraphics.framework", |
| 643 "CoreMedia.framework", | 643 "CoreMedia.framework", |
| 644 "GLKit.framework", | 644 "GLKit.framework", |
| 645 ] | 645 ] |
| (...skipping 20 matching lines...) Expand all Loading... |
| 666 ] | 666 ] |
| 667 } | 667 } |
| 668 | 668 |
| 669 rtc_static_library("objc_corevideoframebuffer") { | 669 rtc_static_library("objc_corevideoframebuffer") { |
| 670 sources = [ | 670 sources = [ |
| 671 "objc/Framework/Classes/Video/corevideo_frame_buffer.cc", | 671 "objc/Framework/Classes/Video/corevideo_frame_buffer.cc", |
| 672 "objc/Framework/Classes/Video/corevideo_frame_buffer.h", | 672 "objc/Framework/Classes/Video/corevideo_frame_buffer.h", |
| 673 ] | 673 ] |
| 674 | 674 |
| 675 deps = [ | 675 deps = [ |
| 676 "../base:rtc_base_approved", | |
| 677 "../common_video", | 676 "../common_video", |
| 677 "../rtc_base:rtc_base_approved", |
| 678 ] | 678 ] |
| 679 | 679 |
| 680 if (!build_with_chromium && is_clang) { | 680 if (!build_with_chromium && is_clang) { |
| 681 # Suppress warnings from the Chromium Clang plugin | 681 # Suppress warnings from the Chromium Clang plugin |
| 682 # (bugs.webrtc.org/163). | 682 # (bugs.webrtc.org/163). |
| 683 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 683 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 684 } | 684 } |
| 685 | 685 |
| 686 libs = [ "CoreVideo.framework" ] | 686 libs = [ "CoreVideo.framework" ] |
| 687 } | 687 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 698 "objc/Framework/Classes/VideoToolbox/videocodecfactory.mm", | 698 "objc/Framework/Classes/VideoToolbox/videocodecfactory.mm", |
| 699 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", | 699 "objc/Framework/Headers/WebRTC/RTCVideoFrameBuffer.h", |
| 700 ] | 700 ] |
| 701 | 701 |
| 702 configs += [ "..:common_objc" ] | 702 configs += [ "..:common_objc" ] |
| 703 | 703 |
| 704 deps = [ | 704 deps = [ |
| 705 ":objc_common", | 705 ":objc_common", |
| 706 ":objc_video", | 706 ":objc_video", |
| 707 ":objc_videotracksource", | 707 ":objc_videotracksource", |
| 708 "../base:rtc_base_approved", | |
| 709 "../common_video", | 708 "../common_video", |
| 710 "../media:rtc_media", | 709 "../media:rtc_media", |
| 711 "../media:rtc_media_base", | 710 "../media:rtc_media_base", |
| 712 "../modules:module_api", | 711 "../modules:module_api", |
| 713 "../modules/video_coding:video_coding_utility", | 712 "../modules/video_coding:video_coding_utility", |
| 714 "../modules/video_coding:webrtc_h264", | 713 "../modules/video_coding:webrtc_h264", |
| 714 "../rtc_base:rtc_base_approved", |
| 715 "../system_wrappers", | 715 "../system_wrappers", |
| 716 ] | 716 ] |
| 717 | 717 |
| 718 libs = [ | 718 libs = [ |
| 719 "CoreFoundation.framework", | 719 "CoreFoundation.framework", |
| 720 "CoreMedia.framework", | 720 "CoreMedia.framework", |
| 721 "CoreVideo.framework", | 721 "CoreVideo.framework", |
| 722 "VideoToolbox.framework", | 722 "VideoToolbox.framework", |
| 723 ] | 723 ] |
| 724 | 724 |
| 725 if (!build_with_chromium && is_clang) { | 725 if (!build_with_chromium && is_clang) { |
| 726 # Suppress warnings from the Chromium Clang plugin | 726 # Suppress warnings from the Chromium Clang plugin |
| 727 # (bugs.webrtc.org/163). | 727 # (bugs.webrtc.org/163). |
| 728 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 728 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 729 } | 729 } |
| 730 | 730 |
| 731 if (rtc_build_libyuv) { | 731 if (rtc_build_libyuv) { |
| 732 deps += [ "$rtc_libyuv_dir" ] | 732 deps += [ "$rtc_libyuv_dir" ] |
| 733 public_deps = [ | 733 public_deps = [ |
| 734 "$rtc_libyuv_dir", | 734 "$rtc_libyuv_dir", |
| 735 ] | 735 ] |
| 736 } else { | 736 } else { |
| 737 # Need to add a directory normally exported by libyuv. | 737 # Need to add a directory normally exported by libyuv. |
| 738 include_dirs = [ "$rtc_libyuv_dir/include" ] | 738 include_dirs = [ "$rtc_libyuv_dir/include" ] |
| 739 } | 739 } |
| 740 } | 740 } |
| 741 } | 741 } |
| 742 } | 742 } |
| OLD | NEW |